[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master 06/10] 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 <ansgar@debian.org>
---
 daklib/utils.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index b9fc2cf..7c1243c 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,
-- 
1.7.2.5



Reply to: