[GRASS-SVN] r43440 - grass/trunk/scripts/v.db.univar

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 9 09:36:35 EDT 2010


Author: mmetz
Date: 2010-09-09 13:36:35 +0000 (Thu, 09 Sep 2010)
New Revision: 43440

Modified:
   grass/trunk/scripts/v.db.univar/v.db.univar.py
Log:
pythonize error message

Modified: grass/trunk/scripts/v.db.univar/v.db.univar.py
===================================================================
--- grass/trunk/scripts/v.db.univar/v.db.univar.py	2010-09-09 12:49:59 UTC (rev 43439)
+++ grass/trunk/scripts/v.db.univar/v.db.univar.py	2010-09-09 13:36:35 UTC (rev 43440)
@@ -142,7 +142,7 @@
     # check if result is empty
     tmpf = file(tmp)
     if tmpf.read(1) == '':
-        grass.fatal(_("Table <%s> contains no data."), table)
+        grass.fatal(_("Table <%s> contains no data.") % table)
         tmpf.close()
 
     # calculate statistics



More information about the grass-commit mailing list