From c74a40e2dcc266f9a88c4e726700e7fceac3ad1a Mon Sep 17 00:00:00 2001 From: Edoardo Putti Date: Fri, 23 Sep 2016 16:29:11 +0200 Subject: [PATCH] change for loop to use new API --- ca_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ca_shell.py b/ca_shell.py index 16afdbd..719a8d7 100755 --- a/ca_shell.py +++ b/ca_shell.py @@ -140,7 +140,7 @@ class CAManagerShell(cmd.Cmd, object): def print_available_authorities(ca_manager): - for i, ca_item in enumerate(ca_manager.get_cas_list()): + for i, ca_item in enumerate(ca_manager.ca): (ca_id, ca_name, ca_type) = ca_item print("- %d : [%3s] %-15s (%s)" % (i ,ca_type, ca_id, ca_name))