aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/interpreter.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-06-22 03:09:45 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-07-08 01:56:14 -0400
commitb89451847af56dc5f224a0e09605ad965d58aabe (patch)
tree3b470af23a774b4d5ce1582a3f98b5c0545a6ce4 /mesonbuild/interpreter/interpreter.py
parent569521d5ec5f7653b5feb092b8ac5bb52bf45711 (diff)
downloadmeson-b89451847af56dc5f224a0e09605ad965d58aabe.zip
meson-b89451847af56dc5f224a0e09605ad965d58aabe.tar.gz
meson-b89451847af56dc5f224a0e09605ad965d58aabe.tar.bz2
fix incorrect type annotation
In my attempts at actually using this, I discovered that no, it actually does take None.
Diffstat (limited to 'mesonbuild/interpreter/interpreter.py')
-rw-r--r--mesonbuild/interpreter/interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py
index 4191bee..c2f0813 100644
--- a/mesonbuild/interpreter/interpreter.py
+++ b/mesonbuild/interpreter/interpreter.py
@@ -2323,7 +2323,7 @@ class Interpreter(InterpreterBase, HoldableObject):
return self.install_data_impl(sources, kwargs['install_dir'], kwargs['install_mode'],
rename, kwargs['install_tag'], install_dir_name)
- def install_data_impl(self, sources: T.List[mesonlib.File], install_dir: str,
+ def install_data_impl(self, sources: T.List[mesonlib.File], install_dir: T.Optional[str],
install_mode: FileMode, rename: T.Optional[str],
tag: T.Optional[str],
install_dir_name: T.Optional[str] = None,