From fae7a58c82e828f7dcde758c400265530a160fb0 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Fri, 13 Nov 2020 11:52:15 +0100
Subject: [PATCH] remove f-strings

---
 build-locally.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/build-locally.py b/build-locally.py
index 3453cfe6..a7cdfdfa 100755
--- a/build-locally.py
+++ b/build-locally.py
@@ -3,8 +3,8 @@
 # This file has been generated by conda-smithy in order to build the recipe
 # locally.
 #
-import os
 import glob
+import os
 import subprocess
 from argparse import ArgumentParser
 
@@ -27,7 +27,7 @@ def verify_config(ns):
     valid_configs = {
         os.path.basename(f)[:-5] for f in glob.glob(".ci_support/*.yaml")
     }
-    print(f"valid configs are {valid_configs}")
+    print("valid configs are {valid_configs}".format(valid_configs=valid_configs))
     if ns.config in valid_configs:
         print("Using " + ns.config + " configuration")
         return
@@ -38,17 +38,17 @@ def verify_config(ns):
         print("config not selected, please choose from the following:\n")
         selections = list(enumerate(sorted(valid_configs), 1))
         for i, c in selections:
-            print(f"{i}. {c}")
+            print("{i}. {c}".format(i=i, c=c))
         s = input("\n> ")
         idx = int(s) - 1
         ns.config = selections[idx][1]
-        print(f"selected {ns.config}")
+        print("selected {config}".format(config=ns.config))
     else:
         raise ValueError("config " + ns.config + " is not valid")
     # Remove the following, as implemented
     if not ns.config.startswith("linux"):
         raise ValueError(
-            f"only Linux configs currently supported, got {ns.config}"
+            "only Linux configs currently supported, got {config}".format(config=ns.config)
         )
 
 
-- 
GitLab