From 62bb8261e6e80970377487277eb07cf0eee43498 Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Sat, 29 Oct 2016 22:29:20 +0200 Subject: [PATCH] get ids required by sign_request from shell --- ca_shell.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ca_shell.py b/ca_shell.py index f53a084..945080e 100755 --- a/ca_shell.py +++ b/ca_shell.py @@ -132,9 +132,8 @@ class CAManagerShell(cmd.Cmd, object): print("==================") print("usage: sign_request autority request") else: - # [request_number, authority_number] = - authority_id = argv[0] - request_id = " ".join(argv[1:]) + authority_id, request_id = argv[0], argv[1] + sign_request(self.ca_manager, request_id, authority_id) def complete_sign_request(self, text, line, begidx, endidx):