[GRASS-SVN] r46452 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 30 06:09:29 EDT 2011
Author: neteler
Date: 2011-05-30 03:09:29 -0700 (Mon, 30 May 2011)
New Revision: 46452
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
Log:
make code Python 2.4 compliant
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py 2011-05-30 08:46:23 UTC (rev 46451)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py 2011-05-30 10:09:29 UTC (rev 46452)
@@ -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