]> git.decadent.org.uk Git - dak.git/blobdiff - madison
change the way ziyi writes to Release.gpg (--output not >)
[dak.git] / madison
diff --git a/madison b/madison
index 7d0222d9fb89e53e17e2b30e3e35ddfb7f8e3e09..882d74bcf7135f674388dc265a2b5341d5cf5844 100755 (executable)
--- a/madison
+++ b/madison
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # 'Fix' stable to make debian-cd and dpkg -BORGiE users happy
-# Copyright (C) 2000  James Troup <james@nocrew.org>
-# $Id: madison,v 1.1 2000-12-20 08:15:35 troup Exp $
+# Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
+# $Id: madison,v 1.3 2001-03-02 02:24:33 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', 'localhost');
+    projectB = pg.connect('projectb', Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, Cnf["DB::ROUser"]);
 
     db_access.init(Cnf, projectB);