From b681539a7b52af00d239d06732b63aaacb4b546f Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 21 Jun 2015 19:52:28 +0200 Subject: [PATCH] dak/rm: Pass a list of bugs to remove() rather than a string Signed-off-by: Niels Thykier --- dak/rm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dak/rm.py b/dak/rm.py index f43f72b6..fa50cf2d 100755 --- 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) -- 2.39.5