[GRASS-SVN] r61301 - grass/trunk/lib/python/temporal

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 21 12:28:13 PDT 2014


Author: huhabla
Date: 2014-07-21 12:28:13 -0700 (Mon, 21 Jul 2014)
New Revision: 61301

Modified:
   grass/trunk/lib/python/temporal/univar_statistics.py
Log:
temporallib: Fixed error message

Modified: grass/trunk/lib/python/temporal/univar_statistics.py
===================================================================
--- grass/trunk/lib/python/temporal/univar_statistics.py	2014-07-21 16:02:07 UTC (rev 61300)
+++ grass/trunk/lib/python/temporal/univar_statistics.py	2014-07-21 19:28:13 UTC (rev 61301)
@@ -52,7 +52,7 @@
     if not rows:
         dbif.close()
         core.fatal(_("Space time %(sp)s dataset <%(i)s> is empty") % {
-                     'sp': sp.get_new_map_instance(None).get_type(), 'i': id})
+                     'sp': sp.get_new_map_instance(None).get_type(), 'i': sp.get_id()})
 
     if no_header is False:
         string = ""



More information about the grass-commit mailing list