From: James Troup Date: Fri, 16 Jun 2006 03:53:19 +0000 (+0100) Subject: Add changes["adv id"] support. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bad52143f847c0e5b574d6294882119a7b9faf8;p=dak Add changes["adv id"] support. --- diff --git a/dak/decode_dot_dak.py b/dak/decode_dot_dak.py index 528aeccc..00b0d117 100755 --- a/dak/decode_dot_dak.py +++ b/dak/decode_dot_dak.py @@ -77,7 +77,7 @@ def main(): print " %s: %s" % (i.capitalize(), " ".join(changes[i].keys())) del changes[i] # Optional changes fields - for i in [ "changed-by", "filecontents", "format" ]: + for i in [ "changed-by", "filecontents", "format", "adv id" ]: if changes.has_key(i): print " %s: %s" % (i.capitalize(), changes[i]) del changes[i] diff --git a/daklib/queue.py b/daklib/queue.py index 3194e19c..e8d569bc 100644 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -31,6 +31,7 @@ re_isanum = re.compile (r"^\d+$") re_default_answer = re.compile(r"\[(.*)\]") re_fdnic = re.compile(r"\n\n") re_bin_only_nmu = re.compile(r"\+b\d+$") + ############################################################################### # Convenience wrapper to carry around all the package information in @@ -174,7 +175,7 @@ class Upload: "closes", "changes" ]: d_changes[i] = changes[i] # Optional changes fields - for i in [ "changed-by", "filecontents", "format", "process-new note", "distribution-version" ]: + for i in [ "changed-by", "filecontents", "format", "process-new note", "adv id", "distribution-version" ]: if changes.has_key(i): d_changes[i] = changes[i] ## dsc