Fix typo in python script method name
Change 'tranlation' -> 'translation' in the name of a method in `scripts/generate_ssl_debug_headers.py`. Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
ba57427bbf
commit
3be1271e35
1 changed files with 2 additions and 2 deletions
|
@ -188,7 +188,7 @@ class EnumDefinition:
|
|||
def span(self):
|
||||
return self._span
|
||||
|
||||
def generate_tranlation_function(self):
|
||||
def generate_translation_function(self):
|
||||
"""
|
||||
Generate function for translating value to string
|
||||
"""
|
||||
|
@ -287,7 +287,7 @@ def generate_ssl_debug_helpers(output_directory, mbedtls_root):
|
|||
if start in definitions:
|
||||
continue
|
||||
if isinstance(instance, EnumDefinition):
|
||||
definition = instance.generate_tranlation_function()
|
||||
definition = instance.generate_translation_function()
|
||||
else:
|
||||
definition = instance
|
||||
definitions[start] = definition
|
||||
|
|
Loading…
Reference in a new issue