From 032480933eaa065761ac1d5d27b96bced93d5343 Mon Sep 17 00:00:00 2001 From: imarom Date: Thu, 25 Feb 2016 10:26:21 -0500 Subject: accident - fixed problems from previous commit --- .../automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/stl') 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 90a17ce2..76e6898c 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 @@ -1671,7 +1671,7 @@ class STLClient(object): raise STLArgumentError('ports', ports, valid_values = self.get_all_ports()) # check arguments - validate_type('promiscuous', promiscuous, bool) + validate_type('promiscuous', promiscuous, (bool, NoneType)) # build attributes attr_dict = {} -- cgit 1.2.3-korg