mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Resolve pylint's warning for keydb.py
* Use idiomatic '_' for unused variable. Signed-off-by: Vladimir Diaz <vladimir.v.diaz@gmail.com>
This commit is contained in:
parent
d6ab5b3abb
commit
66a03afc9c
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ def create_keydb_from_root_metadata(root_metadata, repository_name='default'):
|
|||
# Iterate the keys found in 'root_metadata' by converting them to
|
||||
# 'RSAKEY_SCHEMA' if their type is 'rsa', and then adding them to the
|
||||
# key database.
|
||||
for keyid_in_root_metadata, key_metadata in six.iteritems(root_metadata['keys']):
|
||||
for _, key_metadata in six.iteritems(root_metadata['keys']):
|
||||
if key_metadata['keytype'] in _SUPPORTED_KEY_TYPES:
|
||||
# 'key_metadata' is stored in 'KEY_SCHEMA' format. Call
|
||||
# create_from_metadata_format() to get the key in 'RSAKEY_SCHEMA'
|
||||
|
|
|
|||
Loading…
Reference in a new issue