Commit 5d0faf96 by finswimmer

replace f-string in get-poetry by `.format()` for python2 compatibility

parent 642bae6f
...@@ -458,11 +458,11 @@ class Installer: ...@@ -458,11 +458,11 @@ class Installer:
print( print(
colorize( colorize(
"error", "error",
f"Version {version} does not support this installation method. Please specify a version prior to " "Version {version} does not support this installation method. Please specify a version prior to "
f"1.2.0a1 explicitly using the '--version' option.\n" "1.2.0a1 explicitly using the '--version' option.\n"
"Please see " "Please see "
"https://python-poetry.org/blog/announcing-poetry-1-2-0a1.html#deprecation-of-the-get-poetry-py-script " "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 return None, None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment