]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ukify: Add missing typing for iterator
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 10 Oct 2024 16:23:35 +0000 (18:23 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Sat, 12 Oct 2024 17:01:00 +0000 (19:01 +0200)
src/ukify/ukify.py

index e78c6119cbeeaa92f0d47ce522d5ee884877f0d2..8d122aaa42560e8d917a076339d4ec8692baba3e 100755 (executable)
@@ -504,7 +504,7 @@ def combine_signatures(pcrsigs: list[dict[str, str]]) -> str:
     return json.dumps(combined)
 
 
-def key_path_groups(opts: argparse.Namespace) -> Iterator:
+def key_path_groups(opts: argparse.Namespace) -> Iterator[tuple[str, Optional[Path], Optional[str]]]:
     if not opts.pcr_private_keys:
         return