[GRASS-SVN] r42755 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 10 16:25:43 EDT 2010
Author: martinl
Date: 2010-07-10 20:25:43 +0000 (Sat, 10 Jul 2010)
New Revision: 42755
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
Log:
wxGUI: remove print statemets
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py 2010-07-10 05:56:43 UTC (rev 42754)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/preferences.py 2010-07-10 20:25:43 UTC (rev 42755)
@@ -570,7 +570,7 @@
'condition' : {
'size' : {
'width' : 100,
- 'height' : 50,
+ 'height' : 40,
},
},
},
@@ -883,21 +883,16 @@
@param subkey subkey (value or list)
@param value value
"""
- # print dict
- # print group, key, subkey, value
- # print 'x'
if not dict.has_key(group):
dict[group] = {}
-
+
if not dict[group].has_key(key):
dict[group][key] = {}
-
+
if type(subkey) == types.ListType:
# TODO: len(subkey) > 2
if not dict[group][key].has_key(subkey[0]):
dict[group][key][subkey[0]] = {}
- # print group, key, subkey, value
- # print dict[group][key]
dict[group][key][subkey[0]][subkey[1]] = value
else:
dict[group][key][subkey] = value
More information about the grass-commit
mailing list