]> git.decadent.org.uk Git - dak.git/blobdiff - andrea
Fix database name to be a config option. Fix debian/rules typo. [Ryan Murray]
[dak.git] / andrea
diff --git a/andrea b/andrea
index baa168605a4738c33e5d24cf2f9e8b8a7d4f4053..351c93747639f0bd65fce2f6cf3f67e7e55ca7ed 100755 (executable)
--- a/andrea
+++ b/andrea
@@ -2,7 +2,7 @@
 
 # Check for fixable discrepancies between stable and unstable
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: andrea,v 1.2 2001-03-02 02:47:29 troup Exp $
+# $Id: andrea,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
@@ -46,7 +46,7 @@ def main ():
 
     apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
 
-    projectB = pg.connect('projectb', 'localhost');
+    projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));
     db_access.init(Cnf, projectB);
 
     src_suite = "stable";