Searched hist:"50 d680c433e4eb39990fd998326d0e6164d33458" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/scripts/ |
| H A D | gen_ldelf_hex.py | 50d680c433e4eb39990fd998326d0e6164d33458 Tue May 05 12:20:39 UTC 2020 Jerome Forissier <jerome@forissier.org> scripts/gen_ldelf_hex.py: do not use f-strings
f-strings were introduced in Python 3.6 [1] and will therefore cause an error with prior versions:
| File "scripts/gen_ldelf_hex.py", line 68 | print(f'RO load segment found after RW one(s) (m={n})') | ^ | SyntaxError: invalid syntax
For better compatibility use .format() instead.
Link: [1] https://docs.python.org/3/whatsnew/3.6.html#pep-498-formatted-string-literals Fixes: c706c2449b50 ("scripts/gen_ldelf_hex.py: relax rules for PT_LOAD segments") Signed-off-by: Jerome Forissier <jerome@forissier.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
|