[open-ils-commits] r8234 - trunk/Open-ILS/src/python/oils/utils
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Dec 19 15:39:16 EST 2007
Author: erickson
Date: 2007-12-19 15:17:35 -0500 (Wed, 19 Dec 2007)
New Revision: 8234
Modified:
trunk/Open-ILS/src/python/oils/utils/csedit.py
Log:
updating to use new osrf api
Modified: trunk/Open-ILS/src/python/oils/utils/csedit.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/csedit.py 2007-12-19 19:07:41 UTC (rev 8233)
+++ trunk/Open-ILS/src/python/oils/utils/csedit.py 2007-12-19 20:17:35 UTC (rev 8234)
@@ -105,7 +105,7 @@
# XXX improve param logging here
- self.log(osrfLogInfo, "request %s %s" % (method, unicode(params)))
+ self.log(log_info, "request %s %s" % (method, unicode(params)))
if self.xact and self.session().state != OSRF_APP_SESSION_CONNECTED:
self.log(log_error, "csedit lost its connection!")
@@ -118,7 +118,7 @@
val = resp.content()
except Exception, e:
- self.log(osrfLogErr, "request error: %s" % unicode(e))
+ self.log(log_error, "request error: %s" % unicode(e))
raise e
return val
@@ -158,7 +158,7 @@
def rawSearch(self, args):
method = "%s.json_query.atomic" % self.app
- self.log(osrfLogDebug, "rawSearch args: %s" % unicode(args))
+ self.log(log_debug, "rawSearch args: %s" % unicode(args))
return self.request(method, [args])
def rawSearch2(self, hint, fields, where, from_=None):
More information about the open-ils-commits
mailing list