[open-ils-commits] r19820 - trunk/Open-ILS/src/python/oils/utils (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Mar 19 01:33:37 EDT 2011
Author: dbs
Date: 2011-03-19 01:33:34 -0400 (Sat, 19 Mar 2011)
New Revision: 19820
Modified:
trunk/Open-ILS/src/python/oils/utils/utils.py
Log:
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.
Modified: trunk/Open-ILS/src/python/oils/utils/utils.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/utils.py 2011-03-19 05:00:42 UTC (rev 19819)
+++ trunk/Open-ILS/src/python/oils/utils/utils.py 2011-03-19 05:33:34 UTC (rev 19820)
@@ -18,7 +18,7 @@
# -----------------------------------------------------------------------
import hashlib
-import osrf.ses
+import osrf.log, osrf.ses
def md5sum(string):
"""
@@ -62,7 +62,7 @@
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',
More information about the open-ils-commits
mailing list