[GRASS-SVN] r53622 - grass/branches/develbranch_6/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 31 10:29:19 PDT 2012


Author: martinl
Date: 2012-10-31 10:29:19 -0700 (Wed, 31 Oct 2012)
New Revision: 53622

Modified:
   grass/branches/develbranch_6/gui/wxpython/core/globalvar.py
Log:
wxGUI: report only second attempt to set locales


Modified: grass/branches/develbranch_6/gui/wxpython/core/globalvar.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/core/globalvar.py	2012-10-31 17:27:45 UTC (rev 53621)
+++ grass/branches/develbranch_6/gui/wxpython/core/globalvar.py	2012-10-31 17:29:19 UTC (rev 53622)
@@ -212,7 +212,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