Skip to content

Commit

Permalink
make f-string compatible with pre-3.12 python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed May 10, 2024
1 parent c8379a1 commit 4b801dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/argument_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def setup_parser_arguments(parser):
"-V",
action="version",
help="Show program's version number and exit",
version=f"locust {version} from {os.path.dirname(__file__)} (Python {platform.python_version()}, {" ".join(ssl.OPENSSL_VERSION.split(" ")[0:2])})",
version=f"locust {version} from {os.path.dirname(__file__)} (Python {platform.python_version()}, {' '.join(ssl.OPENSSL_VERSION.split(' ')[0:2])})",
)
other_group.add_argument(
"--exit-code-on-error",
Expand Down

0 comments on commit 4b801dd

Please sign in to comment.