From 21c3ee3ee751b99c270a4a524d4cee66b25453c0 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 9 Dec 2021 09:54:16 -0800 Subject: [PATCH] modules/gnome: fix genmarshall install_dir default Which needs to be converted from None to an empty list --- mesonbuild/modules/gnome.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py index a91ed7665..326f56b9a 100644 --- a/mesonbuild/modules/gnome.py +++ b/mesonbuild/modules/gnome.py @@ -1758,7 +1758,7 @@ class GnomeModule(ExtensionModule): cmd.append(f'--{k.replace("_", "-")}') install_header = kwargs['install_header'] - install_dir = kwargs['install_dir'] + install_dir: T.List[T.Union[str, bool]] = kwargs['install_dir'] or [] custom_kwargs: T.Dict[str, T.Any] = {