X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=kconfig_hardened_check%2F__init__.py;h=5bf50c856fcba2a4c0ea5bc296764232b6cee8a6;hb=97325e595e3d38b84d6f973d2e216931083d8fcf;hp=f56ee3775f2c44beb4a9d03c33a5bb58c46061be;hpb=bb2cacde34665bab16e7d2ea09972758a2372934;p=kconfig-hardened-check.git diff --git a/kconfig_hardened_check/__init__.py b/kconfig_hardened_check/__init__.py index f56ee37..5bf50c8 100755 --- a/kconfig_hardened_check/__init__.py +++ b/kconfig_hardened_check/__init__.py @@ -102,7 +102,6 @@ class OptCheck: print('CONFIG_{:<38}|{:^13}|{:^10}|{:^20}'.format(self.name, self.expected, self.decision, self.reason), end='') if with_results: print('| {}'.format(self.result), end='') - print() class VerCheck: @@ -129,7 +128,6 @@ class VerCheck: print('{:<91}'.format(ver_req), end='') if with_results: print('| {}'.format(self.result), end='') - print() class ComplexOptCheck: @@ -162,8 +160,8 @@ class ComplexOptCheck: print(' {:87}'.format('<<< ' + self.__class__.__name__ + ' >>>'), end='') if with_results: print('| {}'.format(self.result), end='') - print() for o in self.opts: + print() o.table_print(with_results) else: o = self.opts[0] @@ -508,6 +506,7 @@ def print_checklist(checklist, with_results): # table contents for opt in checklist: opt.table_print(with_results) + print() if debug_mode: print('-' * sep_line_len) print()