[open-ils-commits] r8323 - branches/acq-experiment/Open-ILS/src/python/oils/utils

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Jan 4 17:37:27 EST 2008


Author: erickson
Date: 2008-01-04 17:13:33 -0500 (Fri, 04 Jan 2008)
New Revision: 8323

Modified:
   branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py
Log:
logging error for now instead of throwing exception

Modified: branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py
===================================================================
--- branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py	2008-01-04 22:12:38 UTC (rev 8322)
+++ branches/acq-experiment/Open-ILS/src/python/oils/utils/idl.py	2008-01-04 22:13:33 UTC (rev 8323)
@@ -164,8 +164,8 @@
             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)
-            raise IDLException(msg)
+            osrf.log.log_error(msg)
+            #raise IDLException(msg)
 
 class IDLField(object):
     def __init__(self, idl_class, **kwargs):



More information about the open-ils-commits mailing list