aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-06-14 08:42:02 +0000
committerpmikus <pmikus@cisco.com>2021-06-14 08:42:02 +0000
commita4ba3f4e9d2124050502b8dc5c53acbdebd39e11 (patch)
tree781245f85066d202ae59352d800d3ea99219b067
parent8b4de634ef97aa1aecfff1a44f3010af489262fb (diff)
FIX: eval expression
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I746a40af0a051978706e7c696d391a051133145f
-rw-r--r--GPL/tools/trex/trex_astf_stop.py2
-rw-r--r--GPL/tools/trex/trex_stl_stop.py2
2 files changed, 4 insertions, 0 deletions
diff --git a/GPL/tools/trex/trex_astf_stop.py b/GPL/tools/trex/trex_astf_stop.py
index 871b252328..8c05cb46de 100644
--- a/GPL/tools/trex/trex_astf_stop.py
+++ b/GPL/tools/trex/trex_astf_stop.py
@@ -41,6 +41,8 @@ import argparse
import json
import sys
+from collections import OrderedDict # Needed to parse xstats representation.
+
sys.path.insert(
0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
)
diff --git a/GPL/tools/trex/trex_stl_stop.py b/GPL/tools/trex/trex_stl_stop.py
index 14ec817f70..8d24a88b33 100644
--- a/GPL/tools/trex/trex_stl_stop.py
+++ b/GPL/tools/trex/trex_stl_stop.py
@@ -41,6 +41,8 @@ import argparse
import json
import sys
+from collections import OrderedDict # Needed to parse xstats representation.
+
sys.path.insert(
0, u"/opt/trex-core-2.88/scripts/automation/trex_control_plane/interactive/"
)