浏览代码

temporallib: Fixed error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61301 15284696-431f-4ddb-bdfa-cd5b030d7da7
Soeren Gebbert 10 年之前
父节点
当前提交
7609d7d2ed
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 = ""