]> git.decadent.org.uk Git - dak.git/commitdiff
p-u fixes
authorMark Hymers <mhy@debian.org>
Sun, 2 Aug 2009 14:29:08 +0000 (15:29 +0100)
committerMark Hymers <mhy@debian.org>
Sun, 9 Aug 2009 15:49:30 +0000 (16:49 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/process_unchecked.py

index 3a9f2ef2e226a828bacb4331af8dc2663c6033b1..6734702569052746cc87299f7b87cafd696dd7ae 100755 (executable)
@@ -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"]