X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fdecode_dot_dak.py;h=e6bc45b6f4b0ffdcb159d17acb435de3656ce3d0;hb=b43ed3ff3738940ce46caa836d88b6937a76582c;hp=00bf8e7d354ede10618e9f19d9148c349ae220c1;hpb=9593b37685e816dbfc473b8b3e2dcf5fb5692b54;p=dak.git diff --git a/dak/decode_dot_dak.py b/dak/decode_dot_dak.py old mode 100644 new mode 100755 index 00bf8e7d..e6bc45b6 --- a/dak/decode_dot_dak.py +++ b/dak/decode_dot_dak.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Dump variables from a .dak file to stdout +""" Dump variables from a .dak file to stdout """ # Copyright (C) 2001, 2002, 2004, 2006 James Troup # This program is free software; you can redistribute it and/or modify @@ -101,9 +101,9 @@ def main(): for f in files.keys(): print " %s:" % (f) for i in [ "package", "version", "architecture", "type", "size", - "md5sum", "component", "location id", "source package", - "source version", "maintainer", "dbtype", "files id", - "new", "section", "priority", "pool name" ]: + "md5sum", "sha1sum", "sha256sum", "component", "location id", + "source package", "source version", "maintainer", "dbtype", + "files id", "new", "section", "priority", "pool name" ]: if files[f].has_key(i): print " %s: %s" % (i.capitalize(), files[f][i]) del files[f][i]