Use f-string instead of concatenation

Signed-off-by: Gabor Mezei <[email protected]>
This commit is contained in:
Gabor Mezei
2024-10-21 14:27:22 +02:00
parent 224152eec0
commit c9f01cf8b5
+2 -2
View File
@@ -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']