]> git.decadent.org.uk Git - dak.git/commitdiff
dak/rm: Pass a list of bugs to remove() as the correct parameter
authorNiels Thykier <niels@thykier.net>
Sun, 21 Jun 2015 20:27:53 +0000 (22:27 +0200)
committerNiels Thykier <niels@thykier.net>
Sun, 21 Jun 2015 20:27:53 +0000 (22:27 +0200)
Thanks to Adam D. Barratt for spotting the mistake.

Signed-off-by: Niels Thykier <niels@thykier.net>
dak/rm.py

index fa50cf2d886a27f1055ebd083b4159ce6d4a98f2..15f65727090f3cfdb2bc212e347a82d5f236d4ca 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -354,7 +354,7 @@ def main ():
         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=bugs
+               done_bugs=bugs, carbon_copy=carbon_copy, close_related_bugs=Options["Do-Close"]
                )
     except ValueError as ex:
         utils.fubar(ex.message)