[GRASS-SVN] r63387 - grass/branches/releasebranch_7_0/lib/python/script

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 5 11:00:24 PST 2014


Author: neteler
Date: 2014-12-05 11:00:24 -0800 (Fri, 05 Dec 2014)
New Revision: 63387

Modified:
   grass/branches/releasebranch_7_0/lib/python/script/core.py
Log:
libpython make_command(): say in msg which module call needs an update (trunk, r63385)

Modified: grass/branches/releasebranch_7_0/lib/python/script/core.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/python/script/core.py	2014-12-05 18:51:33 UTC (rev 63386)
+++ grass/branches/releasebranch_7_0/lib/python/script/core.py	2014-12-05 19:00:24 UTC (rev 63387)
@@ -280,11 +280,11 @@
         if val != None:
             if opt.startswith('_'):
                 opt = opt[1:]
-                warning(_("To run the module add underscore at the end"
+                warning(_("To run the module <%s> add underscore at the end"
                     " of the option <%s> to avoid conflict with Python"
                     " keywords. Underscore at the beginning is"
                     " depreciated in GRASS GIS 7.0 and will be removed"
-                    " in version 7.1.") % opt)
+                    " in version 7.1.") % (prog, opt))
             elif opt.endswith('_'):
                 opt = opt[:-1]
             args.append("%s=%s" % (opt, _make_val(val)))



More information about the grass-commit mailing list