1
0
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:
Gabor Mezei
2024-09-26 13:02:01 +02:00
parent 224152eec0
commit c9f01cf8b5

View File

@ -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']