summaryrefslogtreecommitdiff
path: root/mesonbuild/utils
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2024-06-29 18:14:00 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2024-07-11 11:53:39 +0300
commit0c36ace4b783f17dd7c60eefd7aca8b4556c519a (patch)
treee9f807499a16e7b51735ac5e2070b4bb9bb48ba0 /mesonbuild/utils
parent8e3f609e730645ca37dcb2a4291bd6514ccea2f3 (diff)
downloadmeson-0c36ace4b783f17dd7c60eefd7aca8b4556c519a.tar.gz
Move base option check into OptionStore.
Diffstat (limited to 'mesonbuild/utils')
-rw-r--r--mesonbuild/utils/universal.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/mesonbuild/utils/universal.py b/mesonbuild/utils/universal.py
index 080f2a76d..31f67693a 100644
--- a/mesonbuild/utils/universal.py
+++ b/mesonbuild/utils/universal.py
@@ -2403,10 +2403,6 @@ class OptionKey:
"""This method will be removed once we can delete OptionsView."""
return self.type is OptionType.PROJECT
- def is_base(self) -> bool:
- """Convenience method to check if this is a base option."""
- return self.type is OptionType.BASE
-
def pickle_load(filename: str, object_name: str, object_type: T.Type[_PL], suggest_reconfigure: bool = True) -> _PL:
load_fail_msg = f'{object_name} file {filename!r} is corrupted.'