[dak/master] dak rm
also print the bug closing reason within the bug close mail
Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
dak/rm.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dak/rm.py b/dak/rm.py
index be3e167..ff45092 100755
--- 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
--
1.6.3.3
Reply to: