From: Ansgar Burchardt Date: Fri, 20 May 2011 19:12:53 +0000 (+0000) Subject: daklib/utils.py (parse_deb822): include PGP armor in filecontents X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=785c29f3f795ea6d8e5bcbdf038a9d023afe3239;p=dak.git daklib/utils.py (parse_deb822): include PGP armor in filecontents 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 --- diff --git a/daklib/utils.py b/daklib/utils.py index b9fc2cfc..7c1243c9 100755 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -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,