[open-ils-commits] r8838 -
branches/acq-experiment/Open-ILS/src/python/oils/utils
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 26 16:40:16 EST 2008
Author: erickson
Date: 2008-02-26 16:08:54 -0500 (Tue, 26 Feb 2008)
New Revision: 8838
Modified:
branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py
Log:
changed the /right/ error to warning to prevent stderr spewing
Modified: branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py
===================================================================
--- branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py 2008-02-26 21:08:02 UTC (rev 8837)
+++ branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py 2008-02-26 21:08:54 UTC (rev 8838)
@@ -152,7 +152,7 @@
try:
keys[obj.position] = obj.name
except Exception, e:
- osrf.log.log_warn("parse_fields(): position out of range. pos=%d : key-size=%d" % (obj.position, len(keys)))
+ osrf.log.log_error("parse_fields(): position out of range. pos=%d : key-size=%d" % (obj.position, len(keys)))
raise e
idlobj.fields.append(obj)
@@ -192,7 +192,7 @@
return [f for f in self.fields if f.name == field_name][0]
except:
msg = "No field '%s' in IDL class '%s'" % (field_name, self.name)
- osrf.log.log_error(msg)
+ osrf.log.log_warn(msg)
#raise IDLException(msg)
class IDLField(object):
More information about the open-ils-commits
mailing list