summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2016-08-15 16:59:17 +0300
committerimarom <imarom@cisco.com>2016-08-16 10:25:48 +0300
commit7dbdcb10b440eb7c84aacec463da352a1ea6f7d4 (patch)
tree3d8f0c2b047810cb37eb21b1f5ec88366222284a /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py
parent25aa665b7e5a5e8747735aaaa5a00dba11b21067 (diff)
personal code review tweaks
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_stats.py1
1 files changed, 1 insertions, 0 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 5e4bdfda..afb01791 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
@@ -1420,6 +1420,7 @@ class CUtilStats(CTRexStats):
self.history.append(rc.data())
else:
self.history.append({})
+
return self.history[-1]
if __name__ == "__main__":