Browse Source

get ids required by sign_request from shell

master
Edoardo Putti 8 years ago
parent
commit
62bb8261e6
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      ca_shell.py

+ 2
- 3
ca_shell.py View File

@ -132,9 +132,8 @@ class CAManagerShell(cmd.Cmd, object):
print("==================") print("==================")
print("usage: sign_request autority request") print("usage: sign_request autority request")
else: 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) sign_request(self.ca_manager, request_id, authority_id)
def complete_sign_request(self, text, line, begidx, endidx): def complete_sign_request(self, text, line, begidx, endidx):


Loading…
Cancel
Save