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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 26 04:41:47 EDT 2010


Author: martinl
Date: 2010-08-26 08:41:47 +0000 (Thu, 26 Aug 2010)
New Revision: 43277

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
fix rr43274


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-08-26 08:39:52 UTC (rev 43276)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2010-08-26 08:41:47 UTC (rev 43277)
@@ -13,7 +13,7 @@
  - GUI
  - FloatValidator
 
- Copyright (C) 2000-2009 by the GRASS Development Team
+ Copyright (C) 2000-2010 by the GRASS Development Team
 
  This program is free software under the GPL (>=v2) Read the file
  COPYING coming with GRASS for details.
@@ -1829,9 +1829,8 @@
         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