소스 검색

gunittest: add missing key to format error message (fix for https://trac.osgeo.org/grass/changeset/64662)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64679 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 10 년 전
부모
커밋
8d0422c4da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/python/gunittest/main.py

+ 1 - 1
lib/python/gunittest/main.py

@@ -154,7 +154,7 @@ def main():
     if not os.path.exists(os.path.join(gisdbase, location)):
         sys.stderr.write("GRASS Location <{loc}>"
                          " does not exist in GRASS Database <{db}>\n".format(
-                             location, gisdbase))
+                             loc=location, db=gisdbase))
         sys.exit(1)
     results_dir = args.output
     silent_rmtree(results_dir)  # TODO: too brute force?