[GRASS-SVN] r67373 - grass/branches/releasebranch_7_0/scripts/v.rast.stats

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 24 09:32:34 PST 2015


Author: martinl
Date: 2015-12-24 09:32:34 -0800 (Thu, 24 Dec 2015)
New Revision: 67373

Modified:
   grass/branches/releasebranch_7_0/scripts/v.rast.stats/v.rast.stats.py
Log:
v.rast.stats: message cosmetics
              (merge r67372 from trunk)


Modified: grass/branches/releasebranch_7_0/scripts/v.rast.stats/v.rast.stats.py
===================================================================
--- grass/branches/releasebranch_7_0/scripts/v.rast.stats/v.rast.stats.py	2015-12-24 17:26:58 UTC (rev 67372)
+++ grass/branches/releasebranch_7_0/scripts/v.rast.stats/v.rast.stats.py	2015-12-24 17:32:34 UTC (rev 67373)
@@ -138,6 +138,7 @@
     grass.run_command('g.region', align=raster)
 
     # prepare raster MASK
+    grass.message(_("Preprocessing input data..."))
     try:
         grass.run_command('v.to.rast', input=vector, layer=layer, output=rastertmp,
                           use='cat', quiet=True)
@@ -237,7 +238,7 @@
             grass.fatal(_("Adding columns failed. Exiting."))
 
     # calculate statistics:
-    grass.message(_("Processing data (%d categories)...") % number)
+    grass.message(_("Processing input data (%d categories)...") % number)
 
     # get rid of any earlier attempts
     grass.try_remove(sqltmp)



More information about the grass-commit mailing list