[GRASS-SVN] r58240 - grass/trunk/gui/wxpython/iscatt

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Nov 16 10:55:20 PST 2013


Author: turek
Date: 2013-11-16 10:55:20 -0800 (Sat, 16 Nov 2013)
New Revision: 58240

Modified:
   grass/trunk/gui/wxpython/iscatt/controllers.py
Log:
wx.iscatt: show right name of raster in warning

Modified: grass/trunk/gui/wxpython/iscatt/controllers.py
===================================================================
--- grass/trunk/gui/wxpython/iscatt/controllers.py	2013-11-16 18:46:53 UTC (rev 58239)
+++ grass/trunk/gui/wxpython/iscatt/controllers.py	2013-11-16 18:55:20 UTC (rev 58240)
@@ -298,7 +298,7 @@
         err = ""
         for b in [b_1_name, b_2_name]:
             if self.bands_info[b] is None:
-                err += _("Band <%s> is not CELL (integer) type.\n" % self.all_bands[b_1])
+                err += _("Band <%s> is not CELL (integer) type.\n" % b)
         if err:
             GMessage(parent=self.guiparent, 
                      message=_("Scatter plot cannot be added.\n" + err))



More information about the grass-commit mailing list