Fix ComplexOptCheck result printing
authorAlexander Popov <alex.popov@linux.com>
Tue, 31 Mar 2020 13:42:05 +0000 (16:42 +0300)
committerAlexander Popov <alex.popov@linux.com>
Tue, 31 Mar 2020 13:43:47 +0000 (16:43 +0300)
kconfig_hardened_check/__init__.py

index 5bf50c856fcba2a4c0ea5bc296764232b6cee8a6..4e3300cd0480bf7461b9c4efd2a5458b5425bd2f 100755 (executable)
@@ -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):