[GRASS-SVN] r64369 - in grass/branches/releasebranch_7_0: . lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jan 30 08:25:28 PST 2015


Author: martinl
Date: 2015-01-30 08:25:28 -0800 (Fri, 30 Jan 2015)
New Revision: 64369

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/lib/init/grass.py
Log:
attempt to fix #2552



Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
   - /grass/trunk:64258
   + /grass/trunk:64258,64367

Modified: grass/branches/releasebranch_7_0/lib/init/grass.py
===================================================================
--- grass/branches/releasebranch_7_0/lib/init/grass.py	2015-01-30 13:17:40 UTC (rev 64368)
+++ grass/branches/releasebranch_7_0/lib/init/grass.py	2015-01-30 16:25:28 UTC (rev 64369)
@@ -60,7 +60,7 @@
 
 # i18N
 import gettext
-gettext.install('grasslibs', os.path.join(gisbase, 'locale'), unicode=True)
+gettext.install('grasslibs', os.path.join(gisbase, 'locale'))
 
 tmpdir = None
 lockfile = None
@@ -857,9 +857,8 @@
         del os.environ['LC_ALL']  # Remove LC_ALL to not override LC_NUMERIC
 
     # From now on enforce the new language
-    gettext.install('grasslibs', os.path.join(gisbase, 'locale'), unicode=True)
+    gettext.install('grasslibs', os.path.join(gisbase, 'locale'))
 
-
 def check_lock():
     global lockfile
     if not os.path.exists(location):



More information about the grass-commit mailing list