Fix quotation reuse (MR 2336)

Python 3.10.12 fails without this patch:

File "/media/gompa/73d88639-a730-456c-a428-6d500b4020b7/pmbootstrap/pmb/parse/arguments.py", line 844 help="Alpine Linux mirror, default: " f"{default_config.mirrors["alpine"]}",
SyntaxError: f-string: unmatched '['

Related: https://peps.python.org/pep-0701/
(Commit message written by Oliver)
This commit is contained in:
gompa 2024-06-24 19:08:21 +02:00 committed by Oliver Smith
parent 8c0bc2e0e8
commit 8390a093d8
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
4 changed files with 4 additions and 4 deletions

View file

@ -841,7 +841,7 @@ def get_parser():
"-m",
"--mirror-alpine",
dest="mirror_alpine",
help="Alpine Linux mirror, default: " f"{default_config.mirrors["alpine"]}",
help="Alpine Linux mirror, default: " f"{default_config.mirrors['alpine']}",
metavar="URL",
)
parser.add_argument("-j", "--jobs", help="parallel jobs when compiling")