Skip to content

Commit

Permalink
Merge pull request #4138 from finswimmer/issue/4131-get-poetry-f-string
Browse files Browse the repository at this point in the history
replace f-string in get-poetry by `.format()` for python2 compatibility
  • Loading branch information
sdispater authored Jun 4, 2021
2 parents 642bae6 + 5d0faf9 commit 6bd4f1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions get-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,11 +458,11 @@ def _is_supported(x):
print(
colorize(
"error",
f"Version {version} does not support this installation method. Please specify a version prior to "
f"1.2.0a1 explicitly using the '--version' option.\n"
"Version {version} does not support this installation method. Please specify a version prior to "
"1.2.0a1 explicitly using the '--version' option.\n"
"Please see "
"https://python-poetry.org/blog/announcing-poetry-1-2-0a1.html#deprecation-of-the-get-poetry-py-script "
"for more information.",
"for more information.".format(version=version),
)
)
return None, None
Expand Down

0 comments on commit 6bd4f1a

Please sign in to comment.