mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Fix bug in Updater
where adding a duplicate keyid failed to load valid multiple keyids
This commit is contained in:
parent
d8b020c427
commit
dbc8cbceb0
1 changed files with 0 additions and 1 deletions
|
|
@ -545,7 +545,6 @@ def _import_delegations(self, parent_role):
|
|||
# We specify the keyid to ensure that it's the correct keyid
|
||||
# for the key.
|
||||
try:
|
||||
tuf.keydb.add_key(key, keyid, self.repository_name)
|
||||
for keyid in keyids:
|
||||
key['keyid'] = keyid
|
||||
tuf.keydb.add_key(key, keyid=None, repository_name=self.repository_name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue