]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote branch 'tolimar/rm-close-bugs' into merge
authorJoerg Jaspert <joerg@debian.org>
Mon, 27 Sep 2010 19:45:23 +0000 (21:45 +0200)
committerJoerg Jaspert <joerg@debian.org>
Mon, 27 Sep 2010 19:45:23 +0000 (21:45 +0200)
* tolimar/rm-close-bugs:
  Log which bugs got closes

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/rm.py

index a790e7bac708f6388ef4fb19fd3c82d47a81b263..db43de190dc82f02e59e7c185d1cfdf85fc3df5c 100755 (executable)
--- 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)