]> git.decadent.org.uk Git - dak.git/blobdiff - dak/rm.py
dak/rm.py: also close forwarded bug reports
[dak.git] / 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:")