From 7636086c519839be4a515474eb4db09a0bb32570 Mon Sep 17 00:00:00 2001 From: dbs Date: Sat, 19 Mar 2011 05:33:34 +0000 Subject: [PATCH] Import osrf.log and reference it when we attempt to log This bare call to log_info was just hanging out, waiting for someone to stumble across it. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19820 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/python/oils/utils/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/src/python/oils/utils/utils.py b/Open-ILS/src/python/oils/utils/utils.py index 6a72aa7756..367ea991f1 100644 --- a/Open-ILS/src/python/oils/utils/utils.py +++ b/Open-ILS/src/python/oils/utils/utils.py @@ -18,7 +18,7 @@ Grab-bag of general utility functions # ----------------------------------------------------------------------- import hashlib -import osrf.ses +import osrf.log, osrf.ses def md5sum(string): """ @@ -62,7 +62,7 @@ def login(username, password, login_type=None, workstation=None): a required parameter of many OpenSRF service calls """ - log_info("attempting login with user " + username) + osrf.log.log_info("attempting login with user " + username) seed = osrf.ses.ClientSession.atomic_request( 'open-ils.auth', -- 2.11.0