Browse Source

Error message bugfix

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@52239 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 13 years ago
parent
commit
ae5f3968bb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      temporal/t.vect.observe.strds/t.vect.observe.strds.py

+ 2 - 2
temporal/t.vect.observe.strds/t.vect.observe.strds.py

@@ -86,7 +86,7 @@ def main():
     
     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 @@ def main():
 
     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