# Populate the DB
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
-# $Id: neve,v 1.2 2001-03-02 02:24:33 troup Exp $
+# $Id: neve,v 1.3 2001-03-20 00:28:11 troup Exp $
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
sys.exit(2)
print output
- projectB = pg.connect('projectb', 'localhost', -1, None, None, 'postgres')
+ projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, 'postgres')
db_access.init (Cnf, projectB);