diff options
author | imarom <imarom@cisco.com> | 2016-03-29 15:21:35 +0300 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-29 15:21:35 +0300 |
commit | e99febc00e77f8fca2e4461df4c5db72f1630ef9 (patch) | |
tree | 4fc2afe63aac9205093c99545059ad5e1deea128 /scripts/automation | |
parent | 3cc8f7e9d8bca14e7cd309e5bf46c9346b42267b (diff) |
Python 3 crash for portattr
Diffstat (limited to 'scripts/automation')
-rw-r--r-- | scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 |
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 = {} |