[GRASS-SVN] r36877 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Apr 23 02:40:14 EDT 2009


Author: hcho
Date: 2009-04-23 02:40:14 -0400 (Thu, 23 Apr 2009)
New Revision: 36877

Modified:
   grass/trunk/gui/wxpython/gui_modules/workspace.py
Log:
Fixed a save error

Modified: grass/trunk/gui/wxpython/gui_modules/workspace.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/workspace.py	2009-04-22 22:45:44 UTC (rev 36876)
+++ grass/trunk/gui/wxpython/gui_modules/workspace.py	2009-04-23 06:40:14 UTC (rev 36877)
@@ -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