X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Frm.py;h=db43de190dc82f02e59e7c185d1cfdf85fc3df5c;hb=86ac396f89d59125db98b6e803471cf8529a615d;hp=a790e7bac708f6388ef4fb19fd3c82d47a81b263;hpb=ecbabfded4cf6ff0922d48ff3b61638346a1049b;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index a790e7ba..db43de19 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -637,7 +637,7 @@ def main (): 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.") @@ -647,8 +647,8 @@ def main (): 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)