]> err.no Git - dak/commitdiff
Add changes["adv id"] support.
authorJames Troup <james@nocrew.org>
Fri, 16 Jun 2006 03:53:19 +0000 (04:53 +0100)
committerJames Troup <james@nocrew.org>
Fri, 16 Jun 2006 03:53:19 +0000 (04:53 +0100)
dak/decode_dot_dak.py
daklib/queue.py

index 528aeccc710b5b0e86496003e800b4dcff97f2c3..00b0d1173ad8d8996a39cc3fc757d4a094620cc7 100755 (executable)
@@ -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]
index 3194e19c87bce1321859ec5abc58a530623c1e29..e8d569bc7fa6f1898ae5f25fc6ac32dd89f9cbbc 100644 (file)
@@ -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