else:
Subst_close_other["__BCC__"] = "X-Filler: 42"
# at this point, I just assume, that the first closed bug gives
-- # some usefull information on why the package got removed
++ # some useful information on why the package got removed
Subst_close_other["__BUG_NUMBER__"] = utils.split_args(Options["Done"])[0]
if len(sources) > 1:
utils.fubar("Closing bugs for multiple source pakcages is not supported. Do it yourself.")
Subst_close_other["__BUG_NUMBER_ALSO__"] = ""
Subst_close_other["__SOURCE__"] = source.split("_", 1)[0]
+ logfile.write("Also closing bugs: ")
+ logfile822.write("Also-Bugs: ")
for bug in bts.get_bugs('src', source.split("_", 1)[0], 'status', 'open'):
Subst_close_other["__BUG_NUMBER_ALSO__"] += str(bug) + "-done@" + cnf["Dinstall::BugServer"] + ","
- logfile.wirte(" " + str(bug))
- logfile822.wirte(" " + str(bug))
++ logfile.write(" " + str(bug))
++ logfile822.write(" " + str(bug))
mail_message = utils.TemplateSubst(Subst_close_other,cnf["Dir::Templates"]+"/rm.bug-close-related")
if Subst_close_other["__BUG_NUMBER_ALSO__"]:
utils.send_mail(mail_message)