[GRASS-SVN] r64822 - grass/trunk/gui/wxpython/gui_core
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Mar 9 12:11:10 PDT 2015
Author: annakrat
Date: 2015-03-09 12:11:10 -0700 (Mon, 09 Mar 2015)
New Revision: 64822
Modified:
grass/trunk/gui/wxpython/gui_core/query.py
Log:
wxGUI: revert r64818 as not working fix, see #2617
Modified: grass/trunk/gui/wxpython/gui_core/query.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/query.py 2015-03-09 08:27:53 UTC (rev 64821)
+++ grass/trunk/gui/wxpython/gui_core/query.py 2015-03-09 19:11:10 UTC (rev 64822)
@@ -17,7 +17,6 @@
import wx
from core.utils import _
-from core.gcmd import DecodeString
from gui_core.treeview import TreeListView
from core.treemodel import TreeModel, DictNode
@@ -182,16 +181,12 @@
"""
def addNode(parent, data, model):
for k, v in data.iteritems():
- if type(k) == str:
- k = DecodeString(k)
if isinstance(v, dict):
node = model.AppendNode(parent=parent, label=k)
addNode(parent=node, data=v, model=model)
else:
if not isinstance(v, basestring):
v = str(v)
- elif type(v) == str:
- v = DecodeString(v)
node = model.AppendNode(parent=parent, label=k,
data={column: v})
More information about the grass-commit
mailing list