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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jan 11 03:53:48 EST 2011


Author: martinl
Date: 2011-01-11 00:53:48 -0800 (Tue, 11 Jan 2011)
New Revision: 44949

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
Log:
wxGUI: track error when searching for maps
(merge r44948 from trunk)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2011-01-11 08:52:28 UTC (rev 44948)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/menuform.py	2011-01-11 08:53:48 UTC (rev 44949)
@@ -255,10 +255,10 @@
                     try:
                         if not cparams[map]['dbInfo']:
                             cparams[map]['dbInfo'] = gselect.VectorDBInfo(map)
+                        self.data[win.InsertColumns] = { 'vector' : map, 'layer' : layer,
+                                                         'dbInfo' : cparams[map]['dbInfo'] }
                     except KeyError:
                         pass
-                    self.data[win.InsertColumns] = { 'vector' : map, 'layer' : layer,
-                                                     'dbInfo' : cparams[map]['dbInfo'] }
                 else: # table
                     driver = db = None
                     pDriver = self.task.get_param('dbdriver', element='prompt', raiseError=False)



More information about the grass-commit mailing list