[GRASS-SVN] r52239 - grass/trunk/temporal/t.vect.observe.strds

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 27 08:03:12 PDT 2012


Author: huhabla
Date: 2012-06-27 08:03:11 -0700 (Wed, 27 Jun 2012)
New Revision: 52239

Modified:
   grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py
Log:
Error message bugfix


Modified: grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py
===================================================================
--- grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py	2012-06-27 10:43:33 UTC (rev 52238)
+++ grass/trunk/temporal/t.vect.observe.strds/t.vect.observe.strds.py	2012-06-27 15:03:11 UTC (rev 52239)
@@ -86,7 +86,7 @@
     
     if strds_sp.is_in_db() == False:
         dbif.close()
-        grass.fatal(_("Space time %s dataset <%s> not found") % (sp.get_new_map_instance(None).get_type(), id))
+        grass.fatal(_("Space time raster dataset <%s> not found") % (strds_id))
 
     strds_sp.select(dbif)
 
@@ -112,7 +112,7 @@
 
     if not rows:
         dbif.close()
-        grass.fatal(_("Space time vector dataset <%s> is empty") % sg.get_id())
+        grass.fatal(_("Space time vector dataset <%s> is empty") % out_sp.get_id())
 
     # Create the output space time vector dataset
 



More information about the grass-commit mailing list