interpreterbase: Fix typing annotation

Co-authored-by: Daniel Mensinger <daniel@mensinger-ka.de>
pull/7686/head
Xavier Claessens 4 years ago
parent 9365486104
commit 70d2207212
  1. 2
      mesonbuild/interpreterbase.py

@ -458,7 +458,7 @@ class InterpreterBase:
# meson.version().compare_version(version_string)
# If it was part of a if-clause, it is used to temporally override the
# current meson version target within that if-block.
self.tmp_meson_version = None # type: str
self.tmp_meson_version = None # type: T.Optional[str]
def load_root_meson_file(self) -> None:
mesonfile = os.path.join(self.source_root, self.subdir, environment.build_filename)

Loading…
Cancel
Save