aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-12-16 22:56:02 +0100
committerEli Schwartz <eschwartz93@gmail.com>2021-12-17 14:00:28 -0500
commitc5ce9744b291d1b93c724384154992f440489f08 (patch)
treecb065d6bd5a80f93396d422153bf0dfef9a2fb0a /mesonbuild/dependencies
parent26f188fb3616acf311429593c9c2d36c1fc5a6b3 (diff)
downloadmeson-c5ce9744b291d1b93c724384154992f440489f08.zip
meson-c5ce9744b291d1b93c724384154992f440489f08.tar.gz
meson-c5ce9744b291d1b93c724384154992f440489f08.tar.bz2
Fix mypy errors
Diffstat (limited to 'mesonbuild/dependencies')
-rw-r--r--mesonbuild/dependencies/detect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/dependencies/detect.py b/mesonbuild/dependencies/detect.py
index dd0b548..f54d101 100644
--- a/mesonbuild/dependencies/detect.py
+++ b/mesonbuild/dependencies/detect.py
@@ -59,12 +59,12 @@ def get_dep_identifier(name: str, kwargs: T.Dict[str, T.Any]) -> 'TV_DepID':
continue
# All keyword arguments are strings, ints, or lists (or lists of lists)
if isinstance(value, list):
- value = frozenset(listify(value))
for i in value:
assert isinstance(i, str)
+ value = tuple(frozenset(listify(value)))
else:
assert isinstance(value, (str, bool, int))
- identifier += (key, value)
+ identifier = (*identifier, (key, value),)
return identifier
display_name_map = {