[GRASS-SVN] r49803 - grass/branches/develbranch_6/gui/wxpython/dbmgr

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 18 05:54:30 EST 2011


Author: neteler
Date: 2011-12-18 02:54:30 -0800 (Sun, 18 Dec 2011)
New Revision: 49803

Modified:
   grass/branches/develbranch_6/gui/wxpython/dbmgr/sqlbuilder.py
Log:
fix trac #1512

Modified: grass/branches/develbranch_6/gui/wxpython/dbmgr/sqlbuilder.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/dbmgr/sqlbuilder.py	2011-12-18 10:52:03 UTC (rev 49802)
+++ grass/branches/develbranch_6/gui/wxpython/dbmgr/sqlbuilder.py	2011-12-18 10:54:30 UTC (rev 49803)
@@ -57,7 +57,7 @@
         
         # db info
         self.layer = layer
-        self.dbInfo = dbm_base.VectorDBInfo(self.vectmap)
+        self.dbInfo = VectorDBInfo(self.vectmap)
         self.tablename = self.dbInfo.GetTable(self.layer)
         self.driver, self.database = self.dbInfo.GetDbSettings(self.layer)
         
@@ -86,7 +86,7 @@
         databasebox = wx.StaticBox(parent = self.panel, id = wx.ID_ANY,
                                    label = " %s " % _("Database connection"))
         databaseboxsizer = wx.StaticBoxSizer(databasebox, wx.VERTICAL)
-        databaseboxsizer.Add(item=dbm_base.createDbInfoDesc(self.panel, self.dbInfo, layer = self.layer),
+        databaseboxsizer.Add(item=createDbInfoDesc(self.panel, self.dbInfo, layer = self.layer),
                              proportion=1,
                              flag=wx.EXPAND | wx.ALL,
                              border=3)



More information about the grass-commit mailing list