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

[dak/master] p-u fixes



Signed-off-by: Mark Hymers <mhy@debian.org>
---
 dak/process_unchecked.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py
index 3a9f2ef..6734702 100755
--- a/dak/process_unchecked.py
+++ b/dak/process_unchecked.py
@@ -243,6 +243,7 @@ def package_to_queue(u, summary, short_summary, queue, perms=0660, build=True, a
     # Send accept mail, announce to lists and close bugs
     if announce and not cnf["Dinstall::Options::No-Mail"]:
         template = os.path.join(cnf["Dir::Templates"], announce)
+        u.update_subst()
         u.Subst["__SUITE__"] = ""
         mail_message = utils.TemplateSubst(u.Subst, template)
         utils.send_mail(mail_message)
@@ -434,6 +435,7 @@ def process_it(changes_file):
     cnf = Config()
 
     u = Upload()
+    u.pkg.changes_file = changes_file
 
     # Some defaults in case we can't fully process the .changes file
     u.pkg.changes["maintainer2047"] = cnf["Dinstall::MyEmailAddress"]
-- 
1.5.6.5



Reply to: