Merge pull request #497 from stikonas/fstrings

Improve support for pre-python 3.12 f-strings.
This commit is contained in:
Samuel Tyler 2025-02-05 10:57:29 +11:00 committed by GitHub
commit 1ada7a101e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ def create_configuration_file(args):
config.write(f"CONFIGURATOR={args.configurator}\n")
if not args.external_sources:
if args.mirrors:
config.write(f"MIRRORS=\"{" ".join(args.mirrors)}\"\n")
config.write(f'MIRRORS="{" ".join(args.mirrors)}"\n')
config.write(f"MIRRORS_LEN={len(args.mirrors)}\n")
else:
config.write("MIRRORS_LEN=0\n")