From: erickson Date: Tue, 26 Feb 2008 21:08:54 +0000 (+0000) Subject: changed the /right/ error to warning to prevent stderr spewing X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7ba8e2cf9684387c0ffd7255f150b3b660eaffca;p=Evergreen.git changed the /right/ error to warning to prevent stderr spewing git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@8838 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/python/oils/utils/idl.py b/Open-ILS/src/python/oils/utils/idl.py index 2e156a0260..7f8d7b8347 100644 --- a/Open-ILS/src/python/oils/utils/idl.py +++ b/Open-ILS/src/python/oils/utils/idl.py @@ -152,7 +152,7 @@ class IDLParser(object): 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 @@ class IDLClass(object): 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):