summaryrefslogtreecommitdiff
path: root/cliff/formatters/table.py
diff options
context:
space:
mode:
Diffstat (limited to 'cliff/formatters/table.py')
-rw-r--r--cliff/formatters/table.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cliff/formatters/table.py b/cliff/formatters/table.py
index b13b364..e625a25 100644
--- a/cliff/formatters/table.py
+++ b/cliff/formatters/table.py
@@ -22,7 +22,10 @@ class TableFormatter(ListFormatter, SingleFormatter):
pass
def emit_list(self, column_names, data, stdout, parsed_args):
- x = prettytable.PrettyTable(column_names, print_empty=False)
+ x = prettytable.PrettyTable(
+ column_names,
+ print_empty=False,
+ )
x.padding_width = 1
# Figure out the types of the columns in the
# first row and set the alignment of the