From: erickson Date: Sun, 11 Nov 2007 17:41:09 +0000 (+0000) Subject: if we have already parsed the IDL,no need to re-parse X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5381c89988874598a128929fcc23f5abe1b38549;p=Evergreen.git if we have already parsed the IDL,no need to re-parse git-svn-id: svn://svn.open-ils.org/ILS/trunk@8056 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 5290203e6b..2ef7c8a102 100644 --- a/Open-ILS/src/python/oils/utils/idl.py +++ b/Open-ILS/src/python/oils/utils/idl.py @@ -9,6 +9,7 @@ __global_parser = None def oilsParseIDL(): global __global_parser + if __global_parser: return # no need to re-parse the IDL idlParser = oilsIDLParser(); idlParser.setIDL(osrfSettingsValue('IDL')) idlParser.parseIDL()