[GRASS-SVN] r64679 - grass/trunk/lib/python/gunittest

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 18 13:11:58 PST 2015


Author: wenzeslaus
Date: 2015-02-18 13:11:58 -0800 (Wed, 18 Feb 2015)
New Revision: 64679

Modified:
   grass/trunk/lib/python/gunittest/main.py
Log:
gunittest: add missing key to format error message (fix for r64662)

Modified: grass/trunk/lib/python/gunittest/main.py
===================================================================
--- grass/trunk/lib/python/gunittest/main.py	2015-02-18 19:21:54 UTC (rev 64678)
+++ grass/trunk/lib/python/gunittest/main.py	2015-02-18 21:11:58 UTC (rev 64679)
@@ -154,7 +154,7 @@
     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?



More information about the grass-commit mailing list