]> git.decadent.org.uk Git - dak.git/commitdiff
dak/process_upload.py: include full changes file with signature
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 13:52:36 +0000 (15:52 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 12 Aug 2012 13:52:36 +0000 (15:52 +0200)
dak/process_upload.py

index bea8a10ec49a01988e71068b6dbca0db716b340e..727e2e802ea27f5ddfed10157c3a542619699dd6 100755 (executable)
@@ -265,10 +265,7 @@ def subst_for_upload(upload):
 
         '__BUG_SERVER__': cnf.get('Dinstall::BugServer'),
 
-        # TODO: don't use private member
-        '__FILE_CONTENTS__': upload.changes._signed_file.contents,
-
-        # __REJECT_MESSAGE__
+        '__FILE_CONTENTS__': open(upload.changes.path, 'r').read(),
         }
 
     override_maintainer = cnf.get('Dinstall::OverrideMaintainer')