Skip to content

Commit 1e88209

Browse files
lukpuehjku
andauthored
Update tuf/ngclient/_internal/trusted_metadata_set.py
Co-authored-by: Jussi Kukkonen <jku@goto.fi> Signed-off-by: Lukas Pühringer <luk.puehringer@gmail.com>
1 parent b6fa05b commit 1e88209

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tuf/ngclient/_internal/trusted_metadata_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ def update_delegated_targets(
401401
# does not match meta version in timestamp
402402
self._check_final_snapshot()
403403

404-
delegator: Optional[Union[Root, Targets]] = self.get(delegator_name)
404+
delegator: Optional[Delegator] = self.get(delegator_name)
405405
if delegator is None:
406406
raise RuntimeError("Cannot load targets before delegator")
407407

0 commit comments

Comments
 (0)