[GRASS-SVN] r60461 - grass/trunk/gui/wxpython/gui_core

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 24 13:32:35 PDT 2014


Author: martinl
Date: 2014-05-24 13:32:34 -0700 (Sat, 24 May 2014)
New Revision: 60461

Modified:
   grass/trunk/gui/wxpython/gui_core/gselect.py
Log:
wxGUI: reports error from db.databases

Modified: grass/trunk/gui/wxpython/gui_core/gselect.py
===================================================================
--- grass/trunk/gui/wxpython/gui_core/gselect.py	2014-05-24 20:13:33 UTC (rev 60460)
+++ grass/trunk/gui/wxpython/gui_core/gselect.py	2014-05-24 20:32:34 UTC (rev 60461)
@@ -1860,7 +1860,7 @@
         self.dbWidgets['featType'].Enable(enableFeatType)
         if showChoice:
             # try to get list of PG databases
-            dbNames = RunCommand('db.databases', quiet=True, read=True,
+            dbNames = RunCommand('db.databases', parent=self, quiet=True, read=True,
                                  driver='pg').splitlines()
             if dbNames is not None:
                 self.dbWidgets['choice'].SetItems(sorted(dbNames))



More information about the grass-commit mailing list