summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2015-10-09 19:42:08 +0200
committeremkael <emkael@tlen.pl>2015-10-09 19:42:08 +0200
commit8f36d662c1a9afdd204e9549ce665c13d1df3ea0 (patch)
treefa54ba75eff49aa5d778b8b73bedd75433097e8a
parent58fd84b32d7456fc9aae32d2e9b6cb97b9aab7b2 (diff)
* pep8 compliance
-rw-r--r--src/virtual_table.py6
1 files changed, 5 insertions, 1 deletions
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__
"""