From 271359ff7bb32a5e873025075a87e43f413bc2e1 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Tue, 20 Oct 2020 09:58:50 +0200 Subject: [PATCH] [bootstrap] Use format string rather than f string Python 3.6 syntax cannot be used yet --- bob/devtools/bootstrap.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py index 18726c4e..b2f1377f 100644 --- a/bob/devtools/bootstrap.py +++ b/bob/devtools/bootstrap.py @@ -338,7 +338,9 @@ def get_channels(public, stable, server, intranet, group): channels_dict["private/stable"] = channels[-1] 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 -- GitLab