diff options
author | Tibor Frank <tifrank@cisco.com> | 2020-03-27 06:41:31 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2020-03-27 06:41:31 +0100 |
commit | c1801539cbefb0cfff8dc808f467f6456a660d4e (patch) | |
tree | 5ce4cee2dae2e47405b2110e06230d5c002daa7c /resources/tools/presentation/pal_utils.py | |
parent | 01597c5db157d5013d109a93bdaad17b630a9026 (diff) |
Report: Header of comparison tables
Change-Id: Icbfd4f306cbec2840292cb6a350a8e5b09047fa4
Signed-off-by: Tibor Frank <tifrank@cisco.com>
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)) |