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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 23 03:59:12 EDT 2009


Author: neteler
Date: 2009-04-23 03:59:12 -0400 (Thu, 23 Apr 2009)
New Revision: 36881

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py
Log:
hcho: Fixed a save error (merge from trunk, r36877)

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py	2009-04-23 07:20:59 UTC (rev 36880)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/workspace.py	2009-04-23 07:59:12 UTC (rev 36881)
@@ -454,7 +454,7 @@
                 self.indent += 4
                 for key, val in cmd[1].iteritems():
                     if key == 'flags':
-                        for f in opt['flags']:
+                        for f in val:
                             self.file.write('%s<flag name="%s" />\n' %
                                             (' ' * self.indent, f))
                     else: # parameter



More information about the grass-commit mailing list