[GRASS-SVN] r44687 - grass/trunk/gui/wxpython/gui_modules

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


Author: martinl
Date: 2010-12-23 09:43:56 -0800 (Thu, 23 Dec 2010)
New Revision: 44687

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


Modified: grass/trunk/gui/wxpython/gui_modules/dbm.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/dbm.py	2010-12-23 13:51:13 UTC (rev 44686)
+++ grass/trunk/gui/wxpython/gui_modules/dbm.py	2010-12-23 17:43:56 UTC (rev 44687)
@@ -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