]> git.decadent.org.uk Git - dak.git/blobdiff - catherine
Fix database name to be a config option. Fix debian/rules typo. [Ryan Murray]
[dak.git] / catherine
index 35885886a1d78f38c90d0d22040666c64fb7bcf1..a8815114c6adeb93b383865cb11c56aa9ac8ed3a 100755 (executable)
--- a/catherine
+++ b/catherine
@@ -2,7 +2,7 @@
 
 # Poolify (move packages from "legacy" type locations to pool locations)
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: catherine,v 1.6 2001-03-02 02:24:33 troup Exp $
+# $Id: catherine,v 1.7 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
@@ -52,7 +52,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);
 
     poolized_size = 0;