Skip to content

Commit

Permalink
fix: python 2.7 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodn committed Aug 21, 2021
1 parent 435ff81 commit 8956a0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/installation/chooser.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _get_links(self, package): # type: (Package) -> List[Link]

if links and not selected_links:
raise RuntimeError(
f"Retrieved digest for link {link.filename}({h}) not in poetry.lock metadata {hashes}"
"Retrieved digest for link {}({}) not in poetry.lock metadata {}".format(link.filename, h, hashes)
)

return selected_links
Expand Down

0 comments on commit 8956a0c

Please sign in to comment.