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