]> git.decadent.org.uk Git - dak.git/commitdiff
dak/rm.py: also close forwarded bug reports
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 17 Nov 2012 12:12:15 +0000 (13:12 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 17 Nov 2012 12:13:02 +0000 (13:13 +0100)
Bug-Debian: http://bugs.debian.org/693491

dak/rm.py

index ec36bf4e49f57687b94e2044812c7fc5629b0cab..a7e53555cb60d1ced23190c0f071612b6c62fcb6 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -525,7 +525,7 @@ def main ():
             utils.fubar("Closing bugs for multiple source packages is not supported.  Do it yourself.")
         Subst_close_other["__BUG_NUMBER_ALSO__"] = ""
         Subst_close_other["__SOURCE__"] = source_pkg
-        other_bugs = bts.get_bugs('src', source_pkg, 'status', 'open')
+        other_bugs = bts.get_bugs('src', source_pkg, 'status', 'open', 'status', 'forwarded')
         if other_bugs:
             logfile.write("Also closing bug(s):")
             logfile822.write("Also-Bugs:")