From 700d003c031d30ae58cb37d67fca677e98e901e1 Mon Sep 17 00:00:00 2001 From: dachshund Date: Fri, 5 Apr 2013 00:24:22 -0400 Subject: [PATCH] Remove listing of delegated target roles and keyids, which are not helpful when they are numerous. --- tuf/repo/signercli.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tuf/repo/signercli.py b/tuf/repo/signercli.py index 9441d052..4ecdcecf 100755 --- a/tuf/repo/signercli.py +++ b/tuf/repo/signercli.py @@ -1052,12 +1052,6 @@ def _load_parent_role(metadata_directory, keystore_directory, targets_roles): load_key = tuf.repo.keystore.load_keystore_from_keyfiles # Get the parent role. We need to modify the parent role's metadata file. - message = 'Listing "targets" and all available delegated roles.' - logger.info(message) - print(message) - for section in targets_roles.keys(): - logger.info(section) - print(section) parent_role = None # Retrieve the parent role from the user. for attempt in range(MAX_INPUT_ATTEMPTS): @@ -1114,10 +1108,6 @@ def _get_delegated_role(keystore_directory, metadata_directory): # Retrieve the delegated rolename from the user (e.g., 'role1'). delegated_role = _prompt('\nEnter the delegated role\'s name: ', str) - # List the keyids available in the keystore. The user will next - # identify the keyids for the new delegated role. - _list_keyids(keystore_directory, metadata_directory) - # Retrieve the delegated role\'s keyids from the user. message = 'The keyid of the delegated role must be loaded.' logger.info(message)