]> git.decadent.org.uk Git - dak.git/commitdiff
Merge remote-tracking branch 'nthykier/auto-decruft'
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 21 Jun 2015 19:20:57 +0000 (21:20 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Sun, 21 Jun 2015 19:20:57 +0000 (21:20 +0200)
dak/rm.py

index f43f72b670d44bfc490e9767cb597366f1e1afc4..fa50cf2d886a27f1055ebd083b4159ce6d4a98f2 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -351,9 +351,10 @@ def main ():
     sys.stdout.flush()
 
     try:
+        bugs = utils.split_args(Options["Done"])
         remove(session, Options["Reason"], suites, to_remove,
                partial=Options["Partial"], components=utils.split_args(Options["Component"]),
-               done_bugs=Options["Done"], carbon_copy=carbon_copy, close_related_bugs=Options["Do-Close"]
+               done_bugs=Options["Done"], carbon_copy=carbon_copy, close_related_bugs=bugs
                )
     except ValueError as ex:
         utils.fubar(ex.message)