From 6fececf192e653a37fe100ae931fcad874c0ee7b Mon Sep 17 00:00:00 2001 From: Yuto Takano Date: Sat, 7 Aug 2021 17:28:23 +0100 Subject: [PATCH] Comment why is used Signed-off-by: Yuto Takano --- tests/scripts/check-names.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/check-names.py b/tests/scripts/check-names.py index b8a12885f..5fe85b7bd 100755 --- a/tests/scripts/check-names.py +++ b/tests/scripts/check-names.py @@ -540,6 +540,8 @@ class NameCheck(): self.set_return_code(2) raise error finally: + # Put back the original config regardless of there being errors. + # Works also for keyboard interrupts. shutil.move("include/mbedtls/mbedtls_config.h.bak", "include/mbedtls/mbedtls_config.h")