[GRASS-SVN] r38040 - grass/branches/releasebranch_6_4/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 23 10:04:56 EDT 2009


Author: martinl
Date: 2009-06-23 10:04:56 -0400 (Tue, 23 Jun 2009)
New Revision: 38040

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI dialog missing dbdriver


Modified: grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2009-06-23 14:00:58 UTC (rev 38039)
+++ grass/branches/releasebranch_6_4/gui/wxpython/gui_modules/menuform.py	2009-06-23 14:04:56 UTC (rev 38040)
@@ -247,6 +247,7 @@
                 if map:
                     self.data[win.InsertColumns] = { 'vector' : map, 'layer' : layer }
                 else: # table
+                    driver = db = None
                     pDriver = self.task.get_param('dbdriver', element='prompt', raiseError=False)
                     if pDriver:
                         driver = pDriver.get('value', None)



More information about the grass-commit mailing list