From: Niels Thykier Date: Sun, 21 Jun 2015 17:52:28 +0000 (+0200) Subject: dak/rm: Pass a list of bugs to remove() rather than a string X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=b681539a7b52af00d239d06732b63aaacb4b546f dak/rm: Pass a list of bugs to remove() rather than a string Signed-off-by: Niels Thykier --- 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)