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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 31 09:39:00 EST 2011


Author: martinl
Date: 2011-12-31 06:39:00 -0800 (Sat, 31 Dec 2011)
New Revision: 50009

Modified:
   grass/trunk/gui/wxpython/modules/extensions.py
Log:
wxGUI: minor fix in uninstall-extension dialog (windows-related)
       (merge r50008 from devbr6)


Modified: grass/trunk/gui/wxpython/modules/extensions.py
===================================================================
--- grass/trunk/gui/wxpython/modules/extensions.py	2011-12-31 14:33:19 UTC (rev 50008)
+++ grass/trunk/gui/wxpython/modules/extensions.py	2011-12-31 14:39:00 UTC (rev 50009)
@@ -486,7 +486,8 @@
         for ext in RunCommand('g.extension',
                               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