[GRASS-SVN] r47571 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Aug 11 17:18:15 EDT 2011


Author: martinl
Date: 2011-08-11 14:18:15 -0700 (Thu, 11 Aug 2011)
New Revision: 47571

Modified:
   grass/trunk/lib/init/grass.py
Log:
fix r47570


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2011-08-11 21:16:47 UTC (rev 47570)
+++ grass/trunk/lib/init/grass.py	2011-08-11 21:18:15 UTC (rev 47571)
@@ -884,7 +884,7 @@
             val = grep('CC',linesplat)
             sys.stdout.write("%s\n" % val[0].split('=')[1].strip())
         else:
-            error(_("Parameter <%s> not supported") % i)
+            message(_("Parameter <%s> not supported") % arg)
     
 def get_username():
     global user



More information about the grass-commit mailing list