X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=catherine;h=a8815114c6adeb93b383865cb11c56aa9ac8ed3a;hb=a9a4efc997ab32398a78367b1cc6bc5fd2e34678;hp=d4f497d2d5ca775f23958c220baa97c550fc65e5;hpb=3b2605da7eed3cea75b609856a352ab5adc66f70;p=dak.git diff --git a/catherine b/catherine index d4f497d2..a8815114 100755 --- a/catherine +++ b/catherine @@ -1,8 +1,8 @@ #!/usr/bin/env python # Poolify (move packages from "legacy" type locations to pool locations) -# Copyright (C) 2000 James Troup -# $Id: catherine,v 1.4 2001-02-09 22:15:27 troup Exp $ +# Copyright (C) 2000, 2001 James Troup +# $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 @@ -50,9 +50,9 @@ def main (): ('n',"no-action","Catherine::Options::No-Action"), ('v',"verbose","Catherine::Options::Verbose")]; - amount = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv); + 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;