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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Feb 28 01:00:00 PST 2015


Author: martinl
Date: 2015-02-28 01:00:00 -0800 (Sat, 28 Feb 2015)
New Revision: 64767

Modified:
   grass/trunk/lib/init/grass.py
Log:
grass.py: move message about language override to debug (it's too verbose from user POV)

Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2015-02-27 19:48:07 UTC (rev 64766)
+++ grass/trunk/lib/init/grass.py	2015-02-28 09:00:00 UTC (rev 64767)
@@ -798,7 +798,8 @@
             return
     
     else:
-        message(_("A language override has been requested. Trying to switch GRASS into '%s'...") % language)
+        if grass_debug:
+            message(_("A language override has been requested. Trying to switch GRASS into '%s'...") % language)
         
         try:
             locale.setlocale(locale.LC_ALL, language)



More information about the grass-commit mailing list