]> git.decadent.org.uk Git - dak.git/commitdiff
dak rm
authorJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 10:48:37 +0000 (11:48 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 10:48:37 +0000 (11:48 +0100)
also print the bug closing reason within the bug close mail

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

index be3e16766e86b94d371f58954b3b1964acb8e208..ff45092755204e1c77da6a13f2fbf3935e961d10 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -554,7 +554,9 @@ def main ():
         if carbon_copy:
             Subst["__CC__"] += "\nCc: " + ", ".join(carbon_copy)
         Subst["__SUITE_LIST__"] = suites_list
-        Subst["__SUMMARY__"] = summary
+        summarymail = "%s\n------------------- Reason -------------------\n%s\n" % (Options["Reason"])
+        summarymail += "----------------------------------------------\n"
+        Subst["__SUMMARY__"] = summarymail
         Subst["__ADMIN_ADDRESS__"] = cnf["Dinstall::MyAdminAddress"]
         Subst["__DISTRO__"] = cnf["Dinstall::MyDistribution"]
         Subst["__WHOAMI__"] = whoami