X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=katie;h=230bfff30ac52e591b7a84e3e7fad807585ef757;hb=89ada75793da6403e6ceb74a66a119621f19bba4;hp=1649d22d1c33ee2688c08f3df3f266b4afd40df2;hpb=8fbd4a8b434352dc8fcb182b4e11d5ff37bf3373;p=dak.git diff --git a/katie b/katie index 1649d22d..230bfff3 100755 --- a/katie +++ b/katie @@ -2,7 +2,7 @@ # Installs Debian packaes # Copyright (C) 2000, 2001 James Troup -# $Id: katie,v 1.57 2001-08-26 00:36:12 troup Exp $ +# $Id: katie,v 1.58 2001-09-05 18:51:21 rmurray 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 @@ -1353,15 +1353,12 @@ def main(): print "katie version 0.0000000000"; usage(0); - postgresql_user = None; # Default == Connect as user running program. - # -n/--dry-run invalidates some other options which would involve things happening if Options["No-Action"]: Options["Automatic"] = ""; Options["Ack-New"] = ""; - postgresql_user = Cnf["DB::ROUser"]; - projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]), None, None, postgresql_user); + projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"])); db_access.init(Cnf, projectB); @@ -1388,7 +1385,7 @@ def main(): Subst = {} Subst["__ADMIN_ADDRESS__"] = Cnf["Dinstall::MyAdminAddress"]; Subst["__BUG_SERVER__"] = Cnf["Dinstall::BugServer"]; - bcc = "X-Katie: $Revision: 1.57 $" + bcc = "X-Katie: $Revision: 1.58 $" if Cnf.has_key("Dinstall::Bcc"): Subst["__BCC__"] = bcc + "\nBcc: %s" % (Cnf["Dinstall::Bcc"]); else: