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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jan 4 13:42:02 EST 2009


Author: martinl
Date: 2009-01-04 13:42:02 -0500 (Sun, 04 Jan 2009)
New Revision: 35210

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: ignore last \n


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2009-01-04 18:35:36 UTC (rev 35209)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2009-01-04 18:42:02 UTC (rev 35210)
@@ -498,7 +498,8 @@
             tableCmd = None
         else:
             for table in ret.split('\n'):
-                items.append(table)
+                if len(table) > 0:
+                    items.append(table)
             
         self.SetItems(items)
         self.SetValue('')



More information about the grass-commit mailing list