From 8956a0c3f1aa2ed134a7420351c0ed917309eca2 Mon Sep 17 00:00:00 2001 From: pietrodn Date: Sat, 21 Aug 2021 22:31:31 +0200 Subject: [PATCH] fix: python 2.7 syntax --- poetry/installation/chooser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poetry/installation/chooser.py b/poetry/installation/chooser.py index d48fa5e0522..d49a183d9f8 100644 --- a/poetry/installation/chooser.py +++ b/poetry/installation/chooser.py @@ -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