From a4ba3f4e9d2124050502b8dc5c53acbdebd39e11 Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 14 Jun 2021 08:42:02 +0000 Subject: FIX: eval expression Signed-off-by: pmikus Change-Id: I746a40af0a051978706e7c696d391a051133145f --- GPL/tools/trex/trex_astf_stop.py | 2 ++ GPL/tools/trex/trex_stl_stop.py | 2 ++ 2 files changed, 4 insertions(+) (limited to 'GPL/tools/trex') 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/" ) -- cgit 1.2.3-korg