[GRASS-SVN] r38195 - grass-addons/vector/v.in.postgis
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 3 12:49:18 EDT 2009
Author: mathieug
Date: 2009-07-03 12:49:18 -0400 (Fri, 03 Jul 2009)
New Revision: 38195
Modified:
grass-addons/vector/v.in.postgis/v.in.postgis.py
Log:
merged importer class and unit test class in same file
Modified: grass-addons/vector/v.in.postgis/v.in.postgis.py
===================================================================
--- grass-addons/vector/v.in.postgis/v.in.postgis.py 2009-07-03 16:46:59 UTC (rev 38194)
+++ grass-addons/vector/v.in.postgis/v.in.postgis.py 2009-07-03 16:49:18 UTC (rev 38195)
@@ -425,9 +425,9 @@
importer = GrassPostGisImporter(options, flags)
##test configuration
host = 'localhost'
-dbname = 'serveur_donnees_meteo'
-user = 'postgres'
-pwd = 'rootnculture'
+dbname = 'yourdb'
+user = 'pguser'
+pwd = 'yourpwd'
db = dbapi2.connect(host=host, database=dbname, user=user, password=pwd)
cursor = db.cursor()
testTableName = 'test_grass_import'
More information about the grass-commit
mailing list