[open-ils-commits] r8056 - trunk/Open-ILS/src/python/oils/utils

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 11 12:57:26 EST 2007


Author: erickson
Date: 2007-11-11 12:41:09 -0500 (Sun, 11 Nov 2007)
New Revision: 8056

Modified:
   trunk/Open-ILS/src/python/oils/utils/idl.py
Log:
if we have already parsed the IDL,no need to re-parse

Modified: trunk/Open-ILS/src/python/oils/utils/idl.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/idl.py	2007-11-10 02:06:00 UTC (rev 8055)
+++ trunk/Open-ILS/src/python/oils/utils/idl.py	2007-11-11 17:41:09 UTC (rev 8056)
@@ -9,6 +9,7 @@
 
 def oilsParseIDL():
     global __global_parser
+    if __global_parser: return # no need to re-parse the IDL
     idlParser = oilsIDLParser();
     idlParser.setIDL(osrfSettingsValue('IDL'))
     idlParser.parseIDL()



More information about the open-ils-commits mailing list