[GRASS-SVN] r43278 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Aug 26 04:42:38 EDT 2010
Author: martinl
Date: 2010-08-26 08:42:38 +0000 (Thu, 26 Aug 2010)
New Revision: 43278
Modified:
grass/trunk/gui/wxpython/gui_modules/menuform.py
Log:
fix r43266
Modified: grass/trunk/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/menuform.py 2010-08-26 08:41:47 UTC (rev 43277)
+++ grass/trunk/gui/wxpython/gui_modules/menuform.py 2010-08-26 08:42:38 UTC (rev 43278)
@@ -1993,10 +1993,9 @@
cmdout = grass.Popen([cmd, '--interface-description'], stdout = grass.PIPE).communicate()[0]
except OSError:
raise gcmd.GException, _("Unable to fetch interface description for command '%s'.") % cmd
- cmdout.replace('grass-interface.dtd', os.path.join(globalvar.ETCDIR, 'grass-interface.dtd'))
- return cmdout
-
+ return cmdout.replace('grass-interface.dtd', os.path.join(globalvar.ETCDIR, 'grass-interface.dtd'))
+
class GrassGUIApp(wx.App):
"""!Stand-alone GRASS command GUI
"""
More information about the grass-commit
mailing list