Skip to content

Commit

Permalink
Remove unnecessary coerce to str
Browse files Browse the repository at this point in the history
ireq.name is already a str instance.
  • Loading branch information
jdufresne committed Dec 6, 2020
1 parent 30a33cd commit e0b5552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piptools/repositories/pypi.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def get_hashes(self, ireq):
if not is_pinned_requirement(ireq):
raise TypeError("Expected pinned requirement, got {}".format(ireq))

log.debug("{}".format(ireq.name))
log.debug(ireq.name)

with log.indentation():
hashes = self._get_hashes_from_pypi(ireq)
Expand Down

0 comments on commit e0b5552

Please sign in to comment.