瀏覽代碼

pythonize error message

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@43440 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 14 年之前
父節點
當前提交
963da57844
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/v.db.univar/v.db.univar.py

+ 1 - 1
scripts/v.db.univar/v.db.univar.py

@@ -142,7 +142,7 @@ def main():
     # check if result is empty
     # check if result is empty
     tmpf = file(tmp)
     tmpf = file(tmp)
     if tmpf.read(1) == '':
     if tmpf.read(1) == '':
-        grass.fatal(_("Table <%s> contains no data."), table)
+        grass.fatal(_("Table <%s> contains no data.") % table)
         tmpf.close()
         tmpf.close()
 
 
     # calculate statistics
     # calculate statistics