From: Alexander Popov Date: Tue, 31 Mar 2020 13:42:05 +0000 (+0300) Subject: Fix ComplexOptCheck result printing X-Git-Tag: v0.5.7~29 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=c52892249254ed4482fcd6941296328d6bf1a59a;p=kconfig-hardened-check.git Fix ComplexOptCheck result printing --- 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):