projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7233b0
)
build,json: fix compatibility with Python 3.5
author
Paul Spooren
<mail@aparcar.org>
Sun, 12 Jul 2020 04:44:55 +0000
(18:44 -1000)
committer
Petr Štetiar
<ynezz@true.cz>
Mon, 13 Jul 2020 20:45:04 +0000
(22:45 +0200)
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>
scripts/json_overview_image_info.py
patch
|
blob
|
history
diff --git
a/scripts/json_overview_image_info.py
b/scripts/json_overview_image_info.py
index c76a4428409c968d7182b30b1c114791d16b6281..ca6fbbc962f12ac38a5c05a3d63c446153979c5a 100755
(executable)
--- 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",
],