From c52892249254ed4482fcd6941296328d6bf1a59a Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Tue, 31 Mar 2020 16:42:05 +0300 Subject: [PATCH] Fix ComplexOptCheck result printing --- kconfig_hardened_check/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index 5bf50c8..4e3300c 100755 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -165,7 +165,9 @@ class ComplexOptCheck: o.table_print(with_results) else: o = self.opts[0] - o.table_print(with_results) + o.table_print(False) + if with_results: + print('| {}'.format(self.result), end='') class OR(ComplexOptCheck): -- 2.31.1