git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46454 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -2207,8 +2207,11 @@ class GUI:
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