Skip to content

Commit

Permalink
interpreter: Fix lint warning introduced in d9f4910
Browse files Browse the repository at this point in the history
  • Loading branch information
oleavr committed Apr 21, 2024
1 parent 811109c commit 56d3c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/interpreter/dependencyfallbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _get_cached_dep(self, name: str, kwargs: TYPE_nkwargs) -> T.Optional[Depende

override = self.build.dependency_overrides[self.for_machine].get(identifier)
if not override and self.subproject_name:
identifier_without_modules = tuple([(k, v) for k, v in identifier if k not in {'modules', 'optional_modules'}])
identifier_without_modules = tuple((k, v) for k, v in identifier if k not in {'modules', 'optional_modules'})
if identifier_without_modules != identifier:
override = self.build.dependency_overrides[self.for_machine].get(identifier_without_modules)
if override:
Expand Down

0 comments on commit 56d3c90

Please sign in to comment.