summaryrefslogtreecommitdiffstats
path: root/cli_helpers/tabular_output/tabulate_adapter.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-21 19:32:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-01-21 19:32:47 +0000
commit25c7ffdc95b7b004e20e7a60d2fc703cb666e193 (patch)
tree79d34fe43a4ee9b66057c90a986fd6577c997fc1 /cli_helpers/tabular_output/tabulate_adapter.py
parentAdding upstream version 2.2.0. (diff)
downloadcli-helpers-25c7ffdc95b7b004e20e7a60d2fc703cb666e193.tar.xz
cli-helpers-25c7ffdc95b7b004e20e7a60d2fc703cb666e193.zip
Adding upstream version 2.2.1.upstream/2.2.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cli_helpers/tabular_output/tabulate_adapter.py')
-rw-r--r--cli_helpers/tabular_output/tabulate_adapter.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli_helpers/tabular_output/tabulate_adapter.py b/cli_helpers/tabular_output/tabulate_adapter.py
index 92e6f1d..a7eabc0 100644
--- a/cli_helpers/tabular_output/tabulate_adapter.py
+++ b/cli_helpers/tabular_output/tabulate_adapter.py
@@ -4,7 +4,7 @@
from __future__ import unicode_literals
from cli_helpers.utils import filter_dict_by_key
-from cli_helpers.compat import Terminal256Formatter, StringIO
+from cli_helpers.compat import Terminal256Formatter, Token, StringIO
from .preprocessors import (
convert_to_string,
truncate_string,
@@ -105,8 +105,8 @@ def style_output_table(format_name=""):
data,
headers,
style=None,
- table_separator_token="Token.Output.TableSeparator",
- **_
+ table_separator_token=Token.Output.TableSeparator,
+ **_,
):
"""Style the *table* a(e.g. bold, italic, and colors)