[GRASS-SVN] r58736 - grass/trunk/scripts/v.rast.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 17 04:17:40 PST 2014


Author: martinl
Date: 2014-01-17 04:17:40 -0800 (Fri, 17 Jan 2014)
New Revision: 58736

Modified:
   grass/trunk/scripts/v.rast.stats/v.rast.stats.py
Log:
v.rast.stats: be less verbose (cosmetics)

Modified: grass/trunk/scripts/v.rast.stats/v.rast.stats.py
===================================================================
--- grass/trunk/scripts/v.rast.stats/v.rast.stats.py	2014-01-16 15:02:14 UTC (rev 58735)
+++ grass/trunk/scripts/v.rast.stats/v.rast.stats.py	2014-01-17 12:17:40 UTC (rev 58736)
@@ -282,7 +282,7 @@
     grass.run_command('g.remove', rast='MASK', quiet=True, stderr=nuldev)
 
     if exitcode == 0:
-        grass.message((_("Statistics calculated from raster map <%s>") % raster) +
+        grass.verbose((_("Statistics calculated from raster map <%s>") % raster) +
                       (_(" and uploaded to attribute table of vector map <%s>.") % vector))
     else:
         grass.warning(_("Failed to upload statistics to attribute table of vector map <%s>.") % vector)



More information about the grass-commit mailing list