[GRASS-SVN] r44688 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 23 12:47:12 EST 2010


Author: martinl
Date: 2010-12-23 09:47:12 -0800 (Thu, 23 Dec 2010)
New Revision: 44688

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
Log:
fix #1249 (unexpected error from the wxguy using "show attribute table" from the toolbar)
(merge r44687 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py	2010-12-23 17:43:56 UTC (rev 44687)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/dbm.py	2010-12-23 17:47:12 UTC (rev 44688)
@@ -2350,7 +2350,7 @@
                                   quiet = True)
         
         for line in connect.splitlines():
-            item, value = line.split(':')
+            item, value = line.split(':', 1)
             self.defaultConnect[item.strip()] = value.strip()
         
         if len(self.defaultConnect['driver']) == 0 or \



More information about the grass-commit mailing list