aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2020-07-11 18:44:55 -1000
committerDaniel Golle <daniel@makrotopia.org>2020-07-13 21:24:30 +0100
commitb9a89bf7b55d37ef750015e0be2378cf8e35285f (patch)
tree4e5743ae9354b1584bd842a6dfe337ffc4cf9cb4
parent9c0ad7f1d5e564420ae1e6493c2fc2622fd27c8c (diff)
downloadupstream-b9a89bf7b55d37ef750015e0be2378cf8e35285f.tar.gz
upstream-b9a89bf7b55d37ef750015e0be2378cf8e35285f.tar.bz2
upstream-b9a89bf7b55d37ef750015e0be2378cf8e35285f.zip
build,json: fix compatibility with Python 3.5
The f-string feature was introduced in Python 3.6. As Buildbots may run on Debian 9, which comes per default with Python 3.5, this would cause an issue. Instead of f-strings use the *legacy* `.format()` function. Signed-off-by: Paul Spooren <mail@aparcar.org>
-rwxr-xr-xscripts/json_overview_image_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/json_overview_image_info.py b/scripts/json_overview_image_info.py
index c76a442840..ca6fbbc962 100755
--- a/scripts/json_overview_image_info.py
+++ b/scripts/json_overview_image_info.py
@@ -38,7 +38,7 @@ if output:
"make",
"--no-print-directory",
"-C",
- f"target/linux/{output['target'].split('/')[0]}",
+ "target/linux/{}".format(output['target'].split('/')[0]),
"val.DEFAULT_PACKAGES",
"val.ARCH_PACKAGES",
],