[GRASS-SVN] r32503 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 4 01:05:23 EDT 2008


Author: cmbarton
Date: 2008-08-04 01:05:23 -0400 (Mon, 04 Aug 2008)
New Revision: 32503

Modified:
   grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
Log:
Removed some debugging text

Modified: grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py	2008-08-04 04:56:52 UTC (rev 32502)
+++ grass/trunk/gui/wxpython/gui_modules/wxgui_utils.py	2008-08-04 05:05:23 UTC (rev 32503)
@@ -335,7 +335,7 @@
     def OnSetCompRegFromRaster(self, event):
         """Set computational region from selected raster map (ignore NULLs)"""
         mapLayer = self.GetPyData(self.layer_selected)[0]['maplayer']
-
+        
         cmd = ['g.region',
                '-p',
                'zoom=%s' % mapLayer.name]
@@ -677,8 +677,8 @@
         if lname:
             if ltype != 'command':
                 if opacity:
-                    lname = lname + ' (opacity: ' + str(opacity) + '%)'
-                self.SetItemText(layer, lname)
+                    name = lname + ' (opacity: ' + str(opacity) + '%)'
+                self.SetItemText(layer, name )
             else:
                 ctrl.SetValue(lname)
 



More information about the grass-commit mailing list