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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 31 10:27:46 PDT 2012


Author: martinl
Date: 2012-10-31 10:27:45 -0700 (Wed, 31 Oct 2012)
New Revision: 53621

Modified:
   grass/trunk/lib/init/grass.py
Log:
wxGUI: report only second attempt to set locales


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2012-10-31 17:16:16 UTC (rev 53620)
+++ grass/trunk/lib/init/grass.py	2012-10-31 17:27:45 UTC (rev 53621)
@@ -664,7 +664,7 @@
         locale.setlocale(locale.LC_ALL, language)
     except locale.Error, e:
         if sys.platform != 'win32': # Don't try on Windows, it will probably not work
-            sys.stderr.write("Failed to set LC_ALL to %s (%s)\n" % (language, e))
+            # sys.stderr.write("Failed to set LC_ALL to %s (%s)\n" % (language, e))
             try:
                 # Locale lang.encoding might be missing. Let's try
                 # UTF-8 encoding before giving up as on Linux systems



More information about the grass-commit mailing list