X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=neve;h=7412fc37de4331cd93770a6300cc1bb8e0b15e75;hb=64903960a4831d780be79b46e75b6ef15ffcc34e;hp=b2a51b99b9c9a127d1d0a301f0694c8f28623d24;hpb=d52ebffcc7af210985d90ffc58e7ecc4141dd8a8;p=dak.git diff --git a/neve b/neve index b2a51b99..7412fc37 100755 --- a/neve +++ b/neve @@ -2,7 +2,7 @@ # Populate the DB # Copyright (C) 2000, 2001 James Troup -# $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 @@ -317,7 +317,7 @@ def main (): 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);