diff options
author | 2016-01-10 04:13:39 -0500 | |
---|---|---|
committer | 2016-01-10 04:13:39 -0500 | |
commit | 773e9d1c67c314aca8f6f88f676b4dd2d777863d (patch) | |
tree | 99f664f967787f8ab4a35aa0d28dfd3c4e10ce41 /scripts/automation/trex_control_plane/client_utils/text_tables.py | |
parent | 505d0dcd8b094cc11a20986f4417facc0a7a9dd7 (diff) | |
parent | 859a72101c94a26296efcc713882b472caf6ff8e (diff) |
Merge branch 'master' of https://github.com/danklein10/trex-core into danklein10-master
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils/text_tables.py')
-rw-r--r-- | scripts/automation/trex_control_plane/client_utils/text_tables.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/text_tables.py b/scripts/automation/trex_control_plane/client_utils/text_tables.py index 2debca38..2fa17f09 100644 --- a/scripts/automation/trex_control_plane/client_utils/text_tables.py +++ b/scripts/automation/trex_control_plane/client_utils/text_tables.py @@ -22,12 +22,11 @@ class TRexTextInfo(Texttable): def generate_trex_stats_table(): pass -def print_table_with_header(texttable_obj, header=""): - header = header.replace("_", " ").title() +def print_table_with_header(texttable_obj, header="", untouched_header=""): + header = header.replace("_", " ").title() + untouched_header print format_text(header, 'cyan', 'underline') + "\n" print texttable_obj.draw() + "\n" - pass if __name__ == "__main__": pass |