Skip to content
Snippets Groups Projects
Commit 271359ff authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[bootstrap] Use format string rather than f string

Python 3.6 syntax cannot be used yet
parent 2e57d616
No related branches found
No related tags found
1 merge request!173Use format string rather than f string in bootstrap.py
Pipeline #44364 passed
...@@ -338,7 +338,9 @@ def get_channels(public, stable, server, intranet, group): ...@@ -338,7 +338,9 @@ def get_channels(public, stable, server, intranet, group):
channels_dict["private/stable"] = channels[-1] channels_dict["private/stable"] = channels[-1]
upload_channel = channels_dict[ upload_channel = channels_dict[
f"{'public' if public else 'private'}/{'stable' if stable else 'beta'}" "{}/{}".format(
"public" if public else "private", "stable" if stable else "beta"
)
] ]
return channels, upload_channel return channels, upload_channel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment