diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-03-27 06:41:31 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-03-27 05:46:58 +0000 |
commit | a3aa91de0e1053bfa239646faada790cc72791d7 (patch) | |
tree | eaf446dc957984520ad282eda4997fa3db5bea5d /resources/tools/presentation/pal_utils.py | |
parent | 2a1ef0d6ea80f1048a86644c422cc2dbee3472d6 (diff) |
Report: Header of comparison tables
Change-Id: Icbfd4f306cbec2840292cb6a350a8e5b09047fa4
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit c1801539cbefb0cfff8dc808f467f6456a660d4e)
Diffstat (limited to 'resources/tools/presentation/pal_utils.py')
-rw-r--r-- | resources/tools/presentation/pal_utils.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/tools/presentation/pal_utils.py b/resources/tools/presentation/pal_utils.py index 1da3350fe1..0c51bb2981 100644 --- a/resources/tools/presentation/pal_utils.py +++ b/resources/tools/presentation/pal_utils.py @@ -316,8 +316,9 @@ def convert_csv_to_pretty_txt(csv_file_name, txt_file_name, delimiter=u","): txt_table = prettytable.PrettyTable(row) else: txt_table.add_row(row) - txt_table.align[u"Test case"] = u"l" - txt_table.align[u"RCA"] = u"l" + txt_table.align = u"r" + txt_table.align[u"Test case"] = u"l" + txt_table.align[u"RCA"] = u"l" if txt_table: with open(txt_file_name, u"wt") as txt_file: txt_file.write(str(txt_table)) |