[GRASS-SVN] r46298 -
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 14 19:46:53 EDT 2011
Author: martinl
Date: 2011-05-14 16:46:53 -0700 (Sat, 14 May 2011)
New Revision: 46298
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: remove print statement
(merge r46297 from devbr6)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py 2011-05-14 23:44:14 UTC (rev 46297)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/gselect.py 2011-05-14 23:46:53 UTC (rev 46298)
@@ -660,11 +660,10 @@
if len(layerchoices) == 0:
layerchoices.insert(0, '-1')
- if len(layerchoices) > 1:
+ elif len(layerchoices) > 1:
self.SetItems(layerchoices)
self.SetStringSelection('1')
elif len(layerchoices) == 1:
- print layerchoices[0]
self.SetItems(layerchoices)
self.SetStringSelection(layerchoices[0])
More information about the grass-commit
mailing list