aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/base.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-10-08 12:02:48 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-10-08 12:23:46 +0200
commit1eec5cf41f905c988af4be003a03d29fca7baef4 (patch)
tree1c27c663e66a9f055a277a5bbe501b7369171cc2 /mesonbuild/dependencies/base.py
parent862bc146a8f39c881c439d919b187b82c95f0871 (diff)
downloadmeson-1eec5cf41f905c988af4be003a03d29fca7baef4.zip
meson-1eec5cf41f905c988af4be003a03d29fca7baef4.tar.gz
meson-1eec5cf41f905c988af4be003a03d29fca7baef4.tar.bz2
interpreter: clean up handling of force_fallback
Force_fallback is not an interpreter keyword argument, and there is no reason to handle it as one since it is not used anywhere else (and in fact is explicitly ignored by get_dep_identifier). Use a Python keyword argument instead, which makes the code simpler.
Diffstat (limited to 'mesonbuild/dependencies/base.py')
-rw-r--r--mesonbuild/dependencies/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/base.py b/mesonbuild/dependencies/base.py
index 14db6a5..7c64b9c 100644
--- a/mesonbuild/dependencies/base.py
+++ b/mesonbuild/dependencies/base.py
@@ -2322,7 +2322,7 @@ def get_dep_identifier(name, kwargs) -> T.Tuple:
# 'required' is irrelevant for caching; the caller handles it separately
# 'fallback' subprojects cannot be cached -- they must be initialized
# 'default_options' is only used in fallback case
- if key in ('version', 'native', 'required', 'fallback', 'default_options', 'force_fallback'):
+ if key in ('version', 'native', 'required', 'fallback', 'default_options'):
continue
# All keyword arguments are strings, ints, or lists (or lists of lists)
if isinstance(value, list):