From 8f36d662c1a9afdd204e9549ce665c13d1df3ea0 Mon Sep 17 00:00:00 2001 From: emkael Date: Fri, 9 Oct 2015 19:42:08 +0200 Subject: * pep8 compliance --- src/virtual_table.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/virtual_table.py b/src/virtual_table.py index a397bf3..3c213c2 100644 --- a/src/virtual_table.py +++ b/src/virtual_table.py @@ -31,6 +31,7 @@ def bs4_fix_file(worker_method): content_file.truncate() return file_wrapper + def fill_pair_list_table(cells, row_cell_count=20): """ Formats cell list into well-formed rows, aligned by column count. """ @@ -69,6 +70,7 @@ def fill_pair_list_table(cells, row_cell_count=20): content.table.append(last_row) return content.table.contents + class JFRVirtualTable(object): """ Virtual tables formatter (for JFR Pary pages) """ @@ -176,7 +178,8 @@ class JFRVirtualTable(object): else: log.getLogger('detect').info('virtual pairs: %s', ' '.join(sorted( - [str(pair) for pair in virtual_pairs]))) + [str(pair) for pair + in virtual_pairs]))) return sorted(virtual_pairs) @bs4_fix_file @@ -434,6 +437,7 @@ class JFRVirtualTable(object): log.getLogger('traveller').warning('%s: %s', traveller_file, warn) + def main(): """ Program entry point, invoked when __name__ is __main__ """ -- cgit v1.2.3