diff options
author | Paul Spooren <mail@aparcar.org> | 2020-07-11 18:44:55 -1000 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-07-13 22:45:04 +0200 |
commit | 5b8b42c78b10957c6dea82eb7a3e56a227d16edd (patch) | |
tree | 133d7a2aa1abd8ffe66be9cebf934609272745bb | |
parent | d7233b0a6a9b8cb9207a74a8cb3d0525170cf504 (diff) | |
download | upstream-5b8b42c78b10957c6dea82eb7a3e56a227d16edd.tar.gz upstream-5b8b42c78b10957c6dea82eb7a3e56a227d16edd.tar.bz2 upstream-5b8b42c78b10957c6dea82eb7a3e56a227d16edd.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-x | scripts/json_overview_image_info.py | 2 |
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", ], |