mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-20 17:32:57 +00:00
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>
This commit is contained in:
parent
9c0ad7f1d5
commit
b9a89bf7b5
@ -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",
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user