X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdecode_dot_dak.py;h=b6cee445c449d4d9bb48889edb7fed50dfaef165;hb=f89e353cb89593444b3e841cadc7175a3f4e9081;hp=00b0d1173ad8d8996a39cc3fc757d4a094620cc7;hpb=8bad52143f847c0e5b574d6294882119a7b9faf8;p=dak.git diff --git a/dak/decode_dot_dak.py b/dak/decode_dot_dak.py old mode 100755 new mode 100644 index 00b0d117..b6cee445 --- a/dak/decode_dot_dak.py +++ b/dak/decode_dot_dak.py @@ -28,7 +28,7 @@ import sys import apt_pkg -import daklib.queue +import daklib.queue import daklib.utils ################################################################################ @@ -46,21 +46,21 @@ def main(): Cnf = daklib.utils.get_conf() Arguments = [('h',"help","Decode-Dot-Dak::Options::Help")] for i in [ "help" ]: - if not Cnf.has_key("Decode-Dot-Dak::Options::%s" % (i)): - Cnf["Decode-Dot-Dak::Options::%s" % (i)] = "" + if not Cnf.has_key("Decode-Dot-Dak::Options::%s" % (i)): + Cnf["Decode-Dot-Dak::Options::%s" % (i)] = "" apt_pkg.ParseCommandLine(Cnf, Arguments, sys.argv) Options = Cnf.SubTree("Decode-Dot-Dak::Options") if Options["Help"]: - usage() + usage() k = daklib.queue.Upload(Cnf) for arg in sys.argv[1:]: arg = daklib.utils.validate_changes_file_arg(arg,require_changes=-1) k.pkg.changes_file = arg print "%s:" % (arg) - k.init_vars() + k.init_vars() k.update_vars() changes = k.pkg.changes @@ -131,4 +131,3 @@ def main(): if __name__ == '__main__': main() -