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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Sep 9 19:10:57 EDT 2008


Author: martinl
Date: 2008-09-09 19:10:57 -0400 (Tue, 09 Sep 2008)
New Revision: 33361

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
wxGUI: update r33359


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-09-09 23:05:28 UTC (rev 33360)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-09-09 23:10:57 UTC (rev 33361)
@@ -1264,7 +1264,7 @@
                                                     subkey='enabled'):
                                     lines = digitClass.driver.GetSelected()
                                 else:
-                                    lines = digitClass.driver.GetSelected()[0] # only first found
+                                    lines = (digitClass.driver.GetSelected()[0],) # only first found
                                 
                                 cats = {}
                                 for line in lines:
@@ -1290,7 +1290,7 @@
                                                     subkey='enabled'):
                                     lines = digitClass.driver.GetSelected()
                                 else:
-                                    lines = digitClass.driver.GetSelected()[0] # only first found
+                                    lines = (digitClass.driver.GetSelected()[0],) # only first found
                                 
                                 cats = {}
                                 for line in lines:



More information about the grass-commit mailing list