Sfoglia il codice sorgente

temporallib: Fixed error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61301 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 10 anni fa
parent
commit
7609d7d2ed
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 no_header is False:
         string = ""