diff options
author | imarom <imarom@cisco.com> | 2016-02-23 09:41:26 -0500 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-02-23 10:06:53 -0500 |
commit | 0e70a929c610f07cda2271313cb5f4c1bac4f148 (patch) | |
tree | 6bd57506b3815f2ce12c0006554a5f2bc7c012a3 /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py | |
parent | 66bebea92f15db3ccf055814ab48cda24477fa9d (diff) |
sync streams and some other bugs
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py index d4ad8bd2..496bea13 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py @@ -54,6 +54,10 @@ class RC(): s += format_text("\n{0}".format(x.data), 'bold') return s + def __iter__(self): + return self.rc_list.__iter__() + + def prn_func (self, msg, newline = True): if newline: print msg |