[GRASS-SVN] r61139 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 3 07:51:15 PDT 2014


Author: martinl
Date: 2014-07-03 07:51:15 -0700 (Thu, 03 Jul 2014)
New Revision: 61139

Modified:
   grass/trunk/gui/wxpython/modules/extensions.py
Log:
wxGUI: fix calling g.extension on windows

Modified: grass/trunk/gui/wxpython/modules/extensions.py
===================================================================
--- grass/trunk/gui/wxpython/modules/extensions.py	2014-07-03 14:43:14 UTC (rev 61138)
+++ grass/trunk/gui/wxpython/modules/extensions.py	2014-07-03 14:51:15 UTC (rev 61139)
@@ -66,10 +66,7 @@
 
         self.optionBox = wx.StaticBox(parent = self.panel, id = wx.ID_ANY,
                                       label = " %s " % _("Options"))
-        if sys.platform == 'win32':
-            task = gtask.parse_interface('g.extension.py')
-        else:
-            task = gtask.parse_interface('g.extension')
+        task = gtask.parse_interface('g.extension')
         ignoreFlags = ['l', 'c', 'g', 'a', 'f', 't', 'help', 'quiet']
         if sys.platform == 'win32':
             ignoreFlags.append('d')



More information about the grass-commit mailing list