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

@ -476,7 +476,7 @@ def ask_for_additional_options(config):
f" parallel jobs: {config.jobs},"
f" ccache per arch: {config.ccache_size},"
f" sudo timer: {context.sudo_timer},"
f" mirror: {config.mirrors["pmaports"]}"
f" mirror: {config.mirrors['pmaports']}"
)
if not pmb.helpers.cli.confirm("Change them?", default=False):