From: erickson Date: Tue, 26 Feb 2008 21:08:02 +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=9598e6196ccd997189a0aa33917df639437b3682;p=Evergreen.git changed the /right/ error to warning to prevent stderr spewing git-svn-id: svn://svn.open-ils.org/ILS/trunk@8837 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 0ec0f0aa12..def3b2452e 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) @@ -184,7 +184,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):