From 96e0b0d16cc58229d790782bcf7f38dfb81c7aec Mon Sep 17 00:00:00 2001 From: dennisvang <29799340+dennisvang@users.noreply.github.com> Date: Fri, 19 Apr 2024 10:35:35 +0200 Subject: [PATCH] adapt to changes in tuf.ngclient.Updater._trusted_set see theupdateframework/python-tuf@cb9aa4a --- src/tufup/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tufup/client.py b/src/tufup/client.py index cade5ea..2a9a9e0 100644 --- a/src/tufup/client.py +++ b/src/tufup/client.py @@ -70,7 +70,7 @@ def trusted_target_metas(self) -> list: if self._trusted_set.targets: _trusted_target_metas = [ TargetMeta(target_path=key, custom=target.custom) - for key, target in self._trusted_set.targets.signed.targets.items() + for key, target in self._trusted_set.targets.targets.items() ] logger.debug(f'{len(_trusted_target_metas)} TargetMeta objects created') else: