]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
config: fix type of presets and dependencies
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 21 Sep 2023 10:25:01 +0000 (12:25 +0200)
committerJoerg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 4 Oct 2023 07:45:00 +0000 (09:45 +0200)
tuple[str] is a single element tuple, whereas tuple[str, ...] is a tuple of
arbitrary length (with only str elements)

mkosi/config.py

index c3e46ecb39db8f076babfa2d489ceee8d44bf95f..2a3b516d9dbc50de3cce35696ec0dc0dc814025c 100644 (file)
@@ -679,8 +679,8 @@ class MkosiConfig:
     """
 
     include: tuple[str, ...]
-    presets: tuple[str]
-    dependencies: tuple[str]
+    presets: tuple[str, ...]
+    dependencies: tuple[str, ...]
 
     distribution: Distribution
     release: str