]> 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 309a4e94e4755802b6bdc3a0c92a9ccee96c9b69..c2f5071bb6b2dae1317c1f563239d1a13916c4ef 100755 (executable)
--- a/heidi
+++ b/heidi
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Manipulate suite tags
-# Copyright (C) 2000  James Troup <james@nocrew.org>
-# $Id: heidi,v 1.3 2001-01-10 06:08:03 troup Exp $
+# Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
+# $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);