[open-ils-commits] r8837 - trunk/Open-ILS/src/python/oils/utils
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Feb 26 16:39:19 EST 2008
Author: erickson
Date: 2008-02-26 16:08:02 -0500 (Tue, 26 Feb 2008)
New Revision: 8837
Modified:
trunk/Open-ILS/src/python/oils/utils/idl.py
Log:
changed the /right/ error to warning to prevent stderr spewing
Modified: trunk/Open-ILS/src/python/oils/utils/idl.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/idl.py 2008-02-26 21:05:42 UTC (rev 8836)
+++ trunk/Open-ILS/src/python/oils/utils/idl.py 2008-02-26 21:08:02 UTC (rev 8837)
@@ -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)
@@ -184,7 +184,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