[open-ils-commits] r8836 - 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:37:00 EST 2008


Author: erickson
Date: 2008-02-26 16:05:42 -0500 (Tue, 26 Feb 2008)
New Revision: 8836

Modified:
   branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py
Log:
changed 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:04:19 UTC (rev 8835)
+++ branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py	2008-02-26 21:05:42 UTC (rev 8836)
@@ -152,7 +152,7 @@
             try:
                 keys[obj.position] = obj.name
             except Exception, e:
-                osrf.log.log_error("parse_fields(): position out of range.  pos=%d : key-size=%d" % (obj.position, len(keys)))
+                osrf.log.log_warn("parse_fields(): position out of range.  pos=%d : key-size=%d" % (obj.position, len(keys)))
                 raise e
 
             idlobj.fields.append(obj)



More information about the open-ils-commits mailing list