Skip to content

Commit

Permalink
Call to keys() is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored Aug 22, 2024
1 parent e19a5a4 commit 96e5d2f
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 96e5d2f

Please sign in to comment.