summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-01-31 09:48:21 +0100
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-01-31 09:48:21 +0100
commit4104cbdaf9f3b5b60191699a1d9c9e7512beb0d8 (patch)
tree2dd70de538e8314a634386e008c87282c516f3ea
parentd67271e1a6e34b1da82e47521730dff9d0e5e36a (diff)
downloadmeson-4104cbdaf9f3b5b60191699a1d9c9e7512beb0d8.tar.gz
typing: Fix Any --> T.Any
-rw-r--r--mesonbuild/coredata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index 7a9fefe68..44eaa02b2 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -463,7 +463,7 @@ class CoreData:
prefix = prefix[:-1]
return prefix
- def sanitize_dir_option_value(self, prefix: str, option: str, value: Any) -> Any:
+ def sanitize_dir_option_value(self, prefix: str, option: str, value: T.Any) -> T.Any:
'''
If the option is an installation directory option and the value is an
absolute path, check that it resides within prefix and return the value