[GRASS-SVN] r50008 - grass/branches/develbranch_6/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 31 09:33:19 EST 2011


Author: martinl
Date: 2011-12-31 06:33:19 -0800 (Sat, 31 Dec 2011)
New Revision: 50008

Modified:
   grass/branches/develbranch_6/gui/wxpython/modules/extensions.py
Log:
wxGUI: minor fix in uninstall-extension dialog (windows-related)

Modified: grass/branches/develbranch_6/gui/wxpython/modules/extensions.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/modules/extensions.py	2011-12-31 14:22:06 UTC (rev 50007)
+++ grass/branches/develbranch_6/gui/wxpython/modules/extensions.py	2011-12-31 14:33:19 UTC (rev 50008)
@@ -487,7 +487,8 @@
         for ext in 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