forked from Mirror/pmbootstrap
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:
parent
8c0bc2e0e8
commit
8390a093d8
4 changed files with 4 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue