changeset 218:479fc959af0e

Fix wrong use of configuration variables for pgsql db initialization. Author: ralphm. Fixes #15.
author Ralph Meijer <ralphm@ik.nu>
date Wed, 14 Oct 2009 16:13:24 +0000
parents f94c3eb38b75
children bb7103da9879
files idavoll/tap.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/idavoll/tap.py	Mon Sep 07 07:01:37 2009 +0000
+++ b/idavoll/tap.py	Wed Oct 14 16:13:24 2009 +0000
@@ -48,9 +48,9 @@
         from idavoll.pgsql_storage import Storage
         dbpool = adbapi.ConnectionPool('pyPgSQL.PgSQL',
                                        user=config['dbuser'],
-                                       password=config['dbuser'],
+                                       password=config['dbpass'],
                                        database=config['dbname'],
-                                       host=config['dbpass'],
+                                       host=config['dbhost'],
                                        port=config['dbport'],
                                        cp_reconnect=True,
                                        client_encoding='utf-8',