[GRASS-SVN] r37884 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jun 14 16:38:24 EDT 2009
Author: martinl
Date: 2009-06-14 16:38:24 -0400 (Sun, 14 Jun 2009)
New Revision: 37884
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py
Log:
wxGUI: fix reading workspace
(merge from trunk, r37883)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py 2009-06-14 20:35:03 UTC (rev 37883)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py 2009-06-14 20:38:24 UTC (rev 37884)
@@ -196,7 +196,8 @@
flags = ''
for p in node_task.findall('flag'):
flags += p.get('name', '')
- cmd.append('-' + flags)
+ if flags:
+ cmd.append('-' + flags)
# parameters
for p in node_task.findall('parameter'):
More information about the grass-commit
mailing list