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:
David Horstmann 2021-12-16 10:56:26 +00:00
parent ba57427bbf
commit 3be1271e35

View file

@ -188,7 +188,7 @@ class EnumDefinition:
def span(self): def span(self):
return self._span return self._span
def generate_tranlation_function(self): def generate_translation_function(self):
""" """
Generate function for translating value to string Generate function for translating value to string
""" """
@ -287,7 +287,7 @@ def generate_ssl_debug_helpers(output_directory, mbedtls_root):
if start in definitions: if start in definitions:
continue continue
if isinstance(instance, EnumDefinition): if isinstance(instance, EnumDefinition):
definition = instance.generate_tranlation_function() definition = instance.generate_translation_function()
else: else:
definition = instance definition = instance
definitions[start] = definition definitions[start] = definition