aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/cmake.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/modules/cmake.py')
-rw-r--r--mesonbuild/modules/cmake.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/cmake.py b/mesonbuild/modules/cmake.py
index a46c399..ee40b44 100644
--- a/mesonbuild/modules/cmake.py
+++ b/mesonbuild/modules/cmake.py
@@ -130,7 +130,7 @@ class CMakeSubproject(ModuleObject):
' message(\'CMake targets:\\n - \' + \'\\n - \'.join(<cmake_subproject>.target_list()))')
# Make sure that all keys are present (if not this is a bug)
- assert all([x in res for x in ['inc', 'src', 'dep', 'tgt', 'func']])
+ assert all(x in res for x in ['inc', 'src', 'dep', 'tgt', 'func'])
return res
@noKwargs