[GRASS-SVN] r35211 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Jan 4 13:44:06 EST 2009
Author: martinl
Date: 2009-01-04 13:44:06 -0500 (Sun, 04 Jan 2009)
New Revision: 35211
Modified:
grass/trunk/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: ignore last \n
(merge from devbr6, r35210)
Modified: grass/trunk/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/gselect.py 2009-01-04 18:42:02 UTC (rev 35210)
+++ grass/trunk/gui/wxpython/gui_modules/gselect.py 2009-01-04 18:44:06 UTC (rev 35211)
@@ -486,7 +486,8 @@
if tableCmd and \
tableCmd.returncode == 0:
for table in tableCmd.ReadStdOutput():
- items.append(table)
+ if len(table) > 0:
+ items.append(table)
self.SetItems(items)
self.SetValue('')
More information about the grass-commit
mailing list