diff options
Diffstat (limited to 'scripts/automation/trex_control_plane/common')
-rwxr-xr-x | scripts/automation/trex_control_plane/common/external_packages.py | 2 | ||||
-rwxr-xr-x | scripts/automation/trex_control_plane/common/trex_streams.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/common/external_packages.py b/scripts/automation/trex_control_plane/common/external_packages.py index 62121d4f..7353c397 100755 --- a/scripts/automation/trex_control_plane/common/external_packages.py +++ b/scripts/automation/trex_control_plane/common/external_packages.py @@ -7,7 +7,7 @@ CURRENT_PATH = os.path.dirname(os.path.realpath(__file__)) ROOT_PATH = os.path.abspath(os.path.join(CURRENT_PATH, os.pardir)) # path to trex_control_plane directory PATH_TO_PYTHON_LIB = os.path.abspath(os.path.join(ROOT_PATH, os.pardir, os.pardir, 'external_libs')) -CLIENT_UTILS_MODULES = ['PyYAML-3.01/lib' +CLIENT_UTILS_MODULES = ['yaml-3.11' ] def import_common_modules(): diff --git a/scripts/automation/trex_control_plane/common/trex_streams.py b/scripts/automation/trex_control_plane/common/trex_streams.py index 44731088..800b6d49 100755 --- a/scripts/automation/trex_control_plane/common/trex_streams.py +++ b/scripts/automation/trex_control_plane/common/trex_streams.py @@ -288,10 +288,10 @@ class CStreamsDB(object): loaded_obj, [StreamPack(v.stream_id, v.stream.dump()) for k, v in compiled_streams.items()])) - except Exception as e: return None + return self.get_stream_pack(stream_pack_name) def load_streams(self, LoadedStreamList_obj): |