mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Use f-string instead of concatenation
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
@ -183,8 +183,8 @@ If what is False, announce that the job has failed.'''
|
|||||||
header += '#if '
|
header += '#if '
|
||||||
if value:
|
if value:
|
||||||
header += '!'
|
header += '!'
|
||||||
header += 'defined(' + option + ')\n'
|
header += f'defined({option})\n'
|
||||||
header += '#error "' + option + '"\n'
|
header += f'#error "{option}"\n'
|
||||||
header += '#endif\n'
|
header += '#endif\n'
|
||||||
include_path = ['include', 'tf-psa-crypto/include',
|
include_path = ['include', 'tf-psa-crypto/include',
|
||||||
'tf-psa-crypto/drivers/builtin/include']
|
'tf-psa-crypto/drivers/builtin/include']
|
||||||
|
Reference in New Issue
Block a user