summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils/text_tables.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-01-10 04:13:39 -0500
committerimarom <imarom@cisco.com>2016-01-10 04:13:39 -0500
commit773e9d1c67c314aca8f6f88f676b4dd2d777863d (patch)
tree99f664f967787f8ab4a35aa0d28dfd3c4e10ce41 /scripts/automation/trex_control_plane/client_utils/text_tables.py
parent505d0dcd8b094cc11a20986f4417facc0a7a9dd7 (diff)
parent859a72101c94a26296efcc713882b472caf6ff8e (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.py5
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