From 8bad52143f847c0e5b574d6294882119a7b9faf8 Mon Sep 17 00:00:00 2001 From: James Troup Date: Fri, 16 Jun 2006 04:53:19 +0100 Subject: [PATCH] Add changes["adv id"] support. --- dak/decode_dot_dak.py | 2 +- daklib/queue.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.5