[open-ils-commits] r11132 - in trunk/Open-ILS/src/python/oils: . utils

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Nov 11 12:00:21 EST 2008


Author: erickson
Date: 2008-11-11 12:00:19 -0500 (Tue, 11 Nov 2008)
New Revision: 11132

Modified:
   trunk/Open-ILS/src/python/oils/const.py
   trunk/Open-ILS/src/python/oils/utils/csedit.py
Log:
some trivial python changes I meant to check in a while back...  prevent re-parsing of IDL, updated email addr

Modified: trunk/Open-ILS/src/python/oils/const.py
===================================================================
--- trunk/Open-ILS/src/python/oils/const.py	2008-11-11 14:15:34 UTC (rev 11131)
+++ trunk/Open-ILS/src/python/oils/const.py	2008-11-11 17:00:19 UTC (rev 11132)
@@ -1,6 +1,6 @@
 # -----------------------------------------------------------------------
 # Copyright (C) 2007  Georgia Public Library Service
-# Bill Erickson <billserickson at gmail.com>
+# Bill Erickson <erickson at esilibrary.com>
 # 
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License

Modified: trunk/Open-ILS/src/python/oils/utils/csedit.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/csedit.py	2008-11-11 14:15:34 UTC (rev 11131)
+++ trunk/Open-ILS/src/python/oils/utils/csedit.py	2008-11-11 17:00:19 UTC (rev 11132)
@@ -248,7 +248,13 @@
 # -------------------------------------------------------------------------
 # Creates a class method for each action on each type of fieldmapper object
 # -------------------------------------------------------------------------
+__editor_loaded = False
 def oilsLoadCSEditor():
+    global __editor_loaded
+    if __editor_loaded:
+        return
+    __editor_loaded = True
+
     obj = IDLParser.get_parser().IDLObject
 
     for k, fm in obj.iteritems():



More information about the open-ils-commits mailing list