[GRASS-SVN] r46453 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 30 06:09:43 EDT 2011


Author: neteler
Date: 2011-05-30 03:09:43 -0700 (Mon, 30 May 2011)
New Revision: 46453

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
make code Python 2.4 compliant

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2011-05-30 10:09:29 UTC (rev 46452)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2011-05-30 10:09:43 UTC (rev 46453)
@@ -2024,8 +2024,11 @@
         self.cmd = list()
         
         global _ignoreBlackList
-        _ignoreBlackList = False if self.parent else True
-        
+        if self.parent:
+                _ignoreBlackList = False
+        else:
+                _ignoreBlackList = True
+
     def GetCmd(self):
         """!Get validated command"""
         return self.cmd



More information about the grass-commit mailing list