]> git.decadent.org.uk Git - dak.git/blobdiff - heidi
Fix database name to be a config option. Fix debian/rules typo. [Ryan Murray]
[dak.git] / heidi
diff --git a/heidi b/heidi
index 74a8cb7d4d6d9e611e21b44092a77aa4d2a3dfa7..c2f5071bb6b2dae1317c1f563239d1a13916c4ef 100755 (executable)
--- a/heidi
+++ b/heidi
@@ -2,7 +2,7 @@
 
 # Manipulate suite tags
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: heidi,v 1.4 2001-03-02 02:24:33 troup Exp $
+# $Id: heidi,v 1.5 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
@@ -160,7 +160,7 @@ def main ():
 
     file_list = 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);