From b06b56885d64d55d0d8b89a058121623ab5d7432 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Mon, 10 Apr 2017 16:09:55 +0200 Subject: [PATCH] drop every request not just the first --- shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell.py b/shell.py index be3169a..27c4d1e 100755 --- a/shell.py +++ b/shell.py @@ -149,7 +149,8 @@ class CAManagerShell(cmd.Cmd): print("Usage: DROP_REQUEST request_id") return - del self.ca_manager.request[argv[0]] + for item in argv: + del self.ca_manager.request[item] def do_gen_ssh(self, l): 'Generate a SSH Certification authority: GEN_SSH ca_id ca_description'