summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl
diff options
context:
space:
mode:
authorHanoh Haim <hhaim@cisco.com>2016-03-29 15:28:42 +0300
committerHanoh Haim <hhaim@cisco.com>2016-03-29 15:28:42 +0300
commit935b711d82845514c30249b8cdd2e9ed6aa11526 (patch)
treee3a6d41bef115b75502524d5e9024abc9aad35c0 /scripts/automation/trex_control_plane/stl
parente7a1b0525f1d0e3cd5ccc71f2a52408a38a47e1d (diff)
parente99febc00e77f8fca2e4461df4c5db72f1630ef9 (diff)
Merge GUI mul=0 issue
Diffstat (limited to 'scripts/automation/trex_control_plane/stl')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
index 25e35423..6fdc3454 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py
@@ -1825,7 +1825,7 @@ class STLClient(object):
ports = self._validate_port_list(ports)
# check arguments
- validate_type('promiscuous', promiscuous, (bool, NoneType))
+ validate_type('promiscuous', promiscuous, (bool, type(None)))
# build attributes
attr_dict = {}