[GRASS-SVN] r50010 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 31 09:41:27 EST 2011


Author: martinl
Date: 2011-12-31 06:41:27 -0800 (Sat, 31 Dec 2011)
New Revision: 50010

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/ghelp.py
Log:
wxGUI: minor fix in uninstall-extension dialog (windows-related)


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/ghelp.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/ghelp.py	2011-12-31 14:39:00 UTC (rev 50009)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/ghelp.py	2011-12-31 14:41:27 UTC (rev 50010)
@@ -1234,8 +1234,9 @@
         for ext in gcmd.RunCommand('g.extension.py',
                                    quiet = True, parent = self, read = True,
                                    flags = 'a').splitlines():
-            self.InsertStringItem(sys.maxint, ext)
-
+            if ext:
+                self.InsertStringItem(sys.maxint, ext)
+        
     def GetExtensions(self):
         """!Get extensions to be un-installed
         """



More information about the grass-commit mailing list