Explorar o código

temporallib: Fixed error message

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@61302 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert %!s(int64=11) %!d(string=hai) anos
pai
achega
1529c21187
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/python/temporal/univar_statistics.py

+ 1 - 1
lib/python/temporal/univar_statistics.py

@@ -52,7 +52,7 @@ def print_gridded_dataset_univar_statistics(type, input, where, extended,
     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 header == True:
         string = ""