[GRASS-SVN] r46454 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 30 06:09:57 EDT 2011
Author: neteler
Date: 2011-05-30 03:09:57 -0700 (Mon, 30 May 2011)
New Revision: 46454
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
make code Python 2.4 compliant
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2011-05-30 10:09:43 UTC (rev 46453)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2011-05-30 10:09:57 UTC (rev 46454)
@@ -2207,8 +2207,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