X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcompare_suites.py;h=e94d9f5fe49628f52d06441ca22eac8856c8704f;hb=8ddef90b13bb13bc458f015041d6926299b35d39;hp=a46bc1201a668b0bbd4b761bd8f4a99c78c096d3;hpb=e2ae71066cbb134753d7bfceb16e87d0b76dfd6e;p=dak.git diff --git a/dak/compare_suites.py b/dak/compare_suites.py old mode 100755 new mode 100644 index a46bc120..e94d9f5f --- a/dak/compare_suites.py +++ b/dak/compare_suites.py @@ -47,14 +47,14 @@ def main (): Cnf = daklib.utils.get_conf() Arguments = [('h',"help","Compare-Suites::Options::Help")] for i in [ "help" ]: - if not Cnf.has_key("Compare-Suites::Options::%s" % (i)): - Cnf["Compare-Suites::Options::%s" % (i)] = "" + if not Cnf.has_key("Compare-Suites::Options::%s" % (i)): + Cnf["Compare-Suites::Options::%s" % (i)] = "" apt_pkg.ParseCommandLine(Cnf, Arguments, sys.argv) Options = Cnf.SubTree("Compare-Suites::Options") if Options["Help"]: - usage() + usage() projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"])) daklib.database.init(Cnf, projectB) @@ -99,4 +99,3 @@ ORDER BY b_src.package;""" if __name__ == '__main__': main() -