[QGIS Commit] r10886 - trunk/qgis/src/plugins/grass/scripts

svn_qgis at osgeo.org svn_qgis at osgeo.org
Fri Jun 5 10:47:10 EDT 2009


Author: rblazek
Date: 2009-06-05 10:47:10 -0400 (Fri, 05 Jun 2009)
New Revision: 10886

Modified:
   trunk/qgis/src/plugins/grass/scripts/qgis.db.connect-login.pg.py
Log:
fixed wrong port

Modified: trunk/qgis/src/plugins/grass/scripts/qgis.db.connect-login.pg.py
===================================================================
--- trunk/qgis/src/plugins/grass/scripts/qgis.db.connect-login.pg.py	2009-06-05 13:13:45 UTC (rev 10885)
+++ trunk/qgis/src/plugins/grass/scripts/qgis.db.connect-login.pg.py	2009-06-05 14:47:10 UTC (rev 10886)
@@ -85,13 +85,10 @@
     user = options['user']
     password = options['password']
 
-    #if not maptable:
-    #	grass.fatal("There is no table connected to this map. Cannot join any column.")
-
     # Test connection
     conn = "dbname=" + database
     if host: conn += ",host=" + host
-    if port: conn += ",port=" + host
+    if port: conn += ",port=" + port
 
     # Unfortunately we cannot test untill user/password is set 
     if user or password:



More information about the QGIS-commit mailing list