fix incorrect type annotation

In my attempts at actually using this, I discovered that no, it actually
does take None.
pull/10514/head
Eli Schwartz 2 years ago
parent 569521d5ec
commit b89451847a
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 2
      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,

Loading…
Cancel
Save