[GRASS-SVN] r40192 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jan 2 09:33:50 EST 2010
Author: martinl
Date: 2010-01-02 09:33:50 -0500 (Sat, 02 Jan 2010)
New Revision: 40192
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: comment-out dialog encoding
(merge r40191 from trunk)
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2010-01-02 14:31:37 UTC (rev 40191)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py 2010-01-02 14:33:50 UTC (rev 40192)
@@ -1731,12 +1731,12 @@
@param cmd command to be parsed (given as list)
"""
- enc = locale.getdefaultlocale()[1]
- if enc and enc.lower() not in ("utf8", "utf-8"):
- tree = etree.fromstring(getInterfaceDescription(cmd[0]).decode(enc).encode("utf-8"))
- else:
- tree = etree.fromstring(getInterfaceDescription(cmd[0]))
-
+ # enc = locale.getdefaultlocale()[1]
+ # if enc and enc.lower() not in ("utf8", "utf-8"):
+ # tree = etree.fromstring(getInterfaceDescription(cmd[0]).decode(enc).encode("utf-8"))
+ # else:
+ tree = etree.fromstring(getInterfaceDescription(cmd[0]))
+
return processTask(tree).GetTask()
def ParseCommand(self, cmd, gmpath=None, completed=None, parentframe=None,
More information about the grass-commit
mailing list