[GRASS-SVN] r53623 - grass/branches/releasebranch_6_4/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 31 10:30:45 PDT 2012


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

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/core/globalvar.py
Log:
wxGUI: report only second attempt to set locales
       (merge r53622 from devbr6)


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