aboutsummaryrefslogtreecommitdiff
path: root/lava_dashboard_tool
diff options
context:
space:
mode:
authorNeil Williams <neil.williams@linaro.org>2015-05-05 12:00:45 +0000
committerNeil Williams <neil.williams@linaro.org>2015-05-05 12:00:56 +0000
commit0f312c0d6a75cd1f153515da628d3203e0166c26 (patch)
treef1de76a16b656e809227975fe3c696db7970d618 /lava_dashboard_tool
parent36b2388f7edb0ef461e446c19954681b52c66952 (diff)
Revert "PEP8 fixes for lava_dashboard_tool"
lava-tool dataset handling cannot meet PEP8 This reverts commit 36b2388f7edb0ef461e446c19954681b52c66952. Change-Id: Ifb4fb2bf99f77ac7e82d3ed0a5c67e9d2177123d Reviewed-on: https://review.linaro.org/5766 Reviewed-by: Neil Williams <neil.williams@linaro.org>
Diffstat (limited to 'lava_dashboard_tool')
-rw-r--r--lava_dashboard_tool/commands.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lava_dashboard_tool/commands.py b/lava_dashboard_tool/commands.py
index a4dd065..c06c151 100644
--- a/lava_dashboard_tool/commands.py
+++ b/lava_dashboard_tool/commands.py
@@ -218,14 +218,14 @@ class DataSetRenderer(object):
underlined text before the data:
>>> DataSetRenderer(caption="Dataset")._render_header(
... dataset, columns, maxlen)
- Dataset
+ Dataset
=================
a bee
You can use both caption and header separator
>>> DataSetRenderer(caption="Dataset", header_separator=True)._render_header(
... dataset, columns, maxlen)
- Dataset
+ Dataset
=================
a bee
-----------------
@@ -235,7 +235,7 @@ class DataSetRenderer(object):
aligned to the center of the column
>>> DataSetRenderer(caption="Dataset", separator=" | ")._render_header(
... dataset, columns, maxlen)
- Dataset
+ Dataset
===================
a | bee
"""
@@ -273,8 +273,8 @@ class DataSetRenderer(object):
you should check out the whitespace in the strings below. There
are two more spaces after 'b' in the second row
>>> DataSetRenderer()._render_rows(dataset, columns, maxlen)
- shorter
- little longer b
+ shorter
+ little longer b
"""
for row in dataset:
print self.separator.join([