]> git.decadent.org.uk Git - dak.git/blobdiff - madison
Fix database name to be a config option. Fix debian/rules typo. [Ryan Murray]
[dak.git] / madison
diff --git a/madison b/madison
index 882d74bcf7135f674388dc265a2b5341d5cf5844..36c0e9a0a6affe5b12e76b4ce828b19bc46dbfd3 100755 (executable)
--- a/madison
+++ b/madison
@@ -2,7 +2,7 @@
 
 # 'Fix' stable to make debian-cd and dpkg -BORGiE users happy
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: madison,v 1.3 2001-03-02 02:24:33 troup Exp $
+# $Id: madison,v 1.4 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
@@ -50,7 +50,7 @@ def main ():
 
     packages = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
 
-    projectB = pg.connect('projectb', Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
+    projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
 
     db_access.init(Cnf, projectB);