diff options
author | 2016-04-16 02:06:52 +0300 | |
---|---|---|
committer | 2016-04-16 02:06:52 +0300 | |
commit | f91190c71d0a2550364fdce909df297405fb5e43 (patch) | |
tree | c6ccb6f26070437151866d22e7f44efce0121bbd /scripts/automation/trex_control_plane/stl/trex_stl_lib | |
parent | 9c1dfed4edc4a4d3f51fc7f9ac9cab58657ab818 (diff) |
python3 further fixes
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py index e182f5ea..6b1185ef 100644 --- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py +++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py @@ -881,7 +881,7 @@ class CRxStats(CTRexStats): output['ts'] = current['ts'] # we care only about the current active keys - pg_ids = filter(is_intable, current.keys()) + pg_ids = list(filter(is_intable, current.keys())) for pg_id in pg_ids: @@ -907,7 +907,7 @@ class CRxStats(CTRexStats): # cleanp old reference values - they are dead - ref_pg_ids = filter(is_intable, self.reference_stats.keys()) + ref_pg_ids = list(filter(is_intable, self.reference_stats.keys())) deleted_pg_ids = set(ref_pg_ids).difference(pg_ids) for d_pg_id in deleted_pg_ids: |