Skip to content

Commit

Permalink
replace f-string in get-poetry by .format() for python2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer committed Jun 4, 2021
1 parent 642bae6 commit 5d0faf9
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 5d0faf9

Please sign in to comment.