Skip to content

Commit

Permalink
Remove redundant .keys() call
Browse files Browse the repository at this point in the history
  • Loading branch information
hellozee committed Sep 3, 2024
1 parent 8d15e3b commit 26c6a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/req/req_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def _parse_and_recurse(
req_path,
)
)
if req_path in self._parsed_files.keys():
if req_path in self._parsed_files:
initial_file = self._parsed_files[req_path]
tail = (
f" and again in {initial_file}"
Expand Down

0 comments on commit 26c6a45

Please sign in to comment.