summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/common
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-02-07 15:12:09 +0200
committerHanoh Haim <hhaim@cisco.com>2016-02-07 15:12:09 +0200
commitc8d86c0de012fd407f5b9618a48eb572e6dd13cd (patch)
tree979c82a0e0ebb2881eb2f5d72ab89686e76f102d /scripts/automation/trex_control_plane/common
parentd71a51e62babde1871e5baf35a81ab2c292ee041 (diff)
parent69e5a5c6b94175ece07b247af1b5ca6c0cfdf0e9 (diff)
Merge contib file
Diffstat (limited to 'scripts/automation/trex_control_plane/common')
-rwxr-xr-xscripts/automation/trex_control_plane/common/trex_streams.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/common/trex_streams.py b/scripts/automation/trex_control_plane/common/trex_streams.py
index 238c89f3..c1f1bfa6 100755
--- a/scripts/automation/trex_control_plane/common/trex_streams.py
+++ b/scripts/automation/trex_control_plane/common/trex_streams.py
@@ -510,7 +510,7 @@ class STLStream(object):
x = yaml.dump(yaml_lst, default_flow_style=False)
with open(yaml_file, 'w') as f:
f.write(x)
-
+ return x
# REMOVE ME when can - convert from stream pack to a simple stream