]> git.decadent.org.uk Git - dak.git/commitdiff
daklib/utils.py (parse_deb822): include PGP armor in filecontents
authorAnsgar Burchardt <ansgar@debian.org>
Fri, 20 May 2011 19:12:53 +0000 (19:12 +0000)
committerAnsgar Burchardt <ansgar@debian.org>
Fri, 20 May 2011 19:12:53 +0000 (19:12 +0000)
We need to include the PGP armor in filecontents as this is later passed
to us again and we now always require a signature (even if it does not
need to be a valid one).

Signed-off-by: Ansgar Burchardt <ansgar@debian.org>
daklib/utils.py

index b9fc2cfce5b198f3382974cd688d9c4d8226d7f2..7c1243c91e123add4bfbce3537f212331344ac3d 100755 (executable)
@@ -209,7 +209,7 @@ def parse_deb822(armored_contents, signing_rules=0, keyrings=None):
             continue
         error += line
 
-    changes["filecontents"] = "".join(lines)
+    changes["filecontents"] = armored_contents
 
     if changes.has_key("source"):
         # Strip the source version in brackets from the source field,