Signed-off-by: Mark Hymers <mhy@debian.org>
# 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)
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"]