From 3be1271e356846f872958605ee7943047fc2ac91 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Thu, 16 Dec 2021 10:56:26 +0000 Subject: [PATCH] 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 --- scripts/generate_ssl_debug_helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/generate_ssl_debug_helpers.py b/scripts/generate_ssl_debug_helpers.py index c1487260d1..98e1c48c8c 100755 --- a/scripts/generate_ssl_debug_helpers.py +++ b/scripts/generate_ssl_debug_helpers.py @@ -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