Message ID | 1277169855-14823-1-git-send-email-mgoldish@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/scan_results.py b/client/tests/kvm/scan_results.py index f7073e4..a339a85 100755 --- a/client/tests/kvm/scan_results.py +++ b/client/tests/kvm/scan_results.py @@ -74,7 +74,7 @@ def main(resfiles): continue results = parse_results(text) result_lists.append((resfile, results)) - name_width = max(name_width, max(len(r[0]) for r in results)) + name_width = max([name_width] + [len(r[0]) for r in results]) print_result(("Test", "Status", "Seconds", "Info"), name_width) print_result(("----", "------", "-------", "----"), name_width)