[GRASS-SVN] r38943 - grass/branches/develbranch_6/lib/python
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 2 02:28:34 EDT 2009
Author: martinl
Date: 2009-09-02 02:28:32 -0400 (Wed, 02 Sep 2009)
New Revision: 38943
Modified:
grass/branches/develbranch_6/lib/python/core.py
Log:
pythonlib: import gettext
(merge from relbr64, r38942)
Modified: grass/branches/develbranch_6/lib/python/core.py
===================================================================
--- grass/branches/develbranch_6/lib/python/core.py 2009-09-02 06:22:23 UTC (rev 38942)
+++ grass/branches/develbranch_6/lib/python/core.py 2009-09-02 06:28:32 UTC (rev 38943)
@@ -29,6 +29,10 @@
import atexit
import subprocess
+# i18N
+import gettext
+gettext.install('grassmods', os.path.join(os.getenv("GISBASE"), 'locale'), unicode=True)
+
# subprocess wrapper that uses shell on Windows
class Popen(subprocess.Popen):
More information about the grass-commit
mailing list