From: Jörg Behrmann Date: Sat, 12 Oct 2024 13:50:57 +0000 (+0200) Subject: ukify: Fix type of UKI.executable X-Git-Tag: v257-rc1~229^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=929d6225b221a20d22dc0a0ee1f03696916ed9f8;p=thirdparty%2Fsystemd.git ukify: Fix type of UKI.executable --- diff --git a/src/ukify/ukify.py b/src/ukify/ukify.py index 80d4bfd7e7c..94fe16db270 100755 --- a/src/ukify/ukify.py +++ b/src/ukify/ukify.py @@ -387,7 +387,7 @@ class Section: @dataclasses.dataclass class UKI: - executable: list[Union[Path, str]] + executable: Path sections: list[Section] = dataclasses.field(default_factory=list, init=False) def add_section(self, section: Section) -> None: