Fix formatting of generate_ssl_debug_helpers.py
Satisfy pylint formatting errors Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
391e33ac93
commit
4a49651860
1 changed files with 2 additions and 3 deletions
|
@ -276,10 +276,9 @@ class SignatureAlgorithmDefinition:
|
|||
translation_table = []
|
||||
for m in self._definitions:
|
||||
name = m.groupdict()['name']
|
||||
return_val = name[len('MBEDTLS_TLS1_3_SIG_'):].lower()
|
||||
translation_table.append(
|
||||
' case {}:\n return "{}";'.format(name,
|
||||
name[len('MBEDTLS_TLS1_3_SIG_'):].lower())
|
||||
)
|
||||
' case {}:\n return "{}";'.format(name, return_val))
|
||||
|
||||
body = textwrap.dedent('''\
|
||||
const char *mbedtls_ssl_sig_alg_to_str( uint16_t in )
|
||||
|
|
Loading…
Reference in a new issue