Merge pull request #5348 from davidhorstmann-arm/fix-ssl-debug-header-typo

Fix typo in python script method name
This commit is contained in:
Gilles Peskine 2021-12-20 22:07:08 +01:00 committed by GitHub
commit acc74b8413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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