[GRASS-SVN] r34031 -
grass/branches/develbranch_6/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Oct 27 18:59:19 EDT 2008
Author: martinl
Date: 2008-10-27 18:59:19 -0400 (Mon, 27 Oct 2008)
New Revision: 34031
Modified:
grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
Log:
wxGUI: fix attr (value containing delimiter ':')
Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py 2008-10-27 22:57:19 UTC (rev 34030)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py 2008-10-27 22:59:19 UTC (rev 34031)
@@ -3227,13 +3227,13 @@
if len(item) < 1:
continue
- key, value = item.split(':')
+ key, value = item.split(':', 1)
if key == 'Layer' and readAttrb:
readAttrb = False
if readAttrb:
- name, value = item.split(':')
+ name, value = item.split(':', 1)
name = name.strip()
# append value to the column
if len(value) < 1:
More information about the grass-commit
mailing list