From 48889fac2a576b748537a11cc63bdf277156c780 Mon Sep 17 00:00:00 2001 From: Yaroslav Brustinov Date: Tue, 2 Feb 2016 23:19:27 +0200 Subject: scapy builder typo --- .../automation/trex_control_plane/client_utils/scapy_packet_builder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/automation/trex_control_plane/client_utils') diff --git a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py index 7c398e9d..d8817de9 100644 --- a/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py +++ b/scripts/automation/trex_control_plane/client_utils/scapy_packet_builder.py @@ -560,7 +560,7 @@ class CScapyTRexPktBuilder(object): + :exc:`AssertionError`, in case VM is not compiled (is None). """ - assert self.vm_low_level is None, 'vm_low_level is None, please use compile()' + assert self.vm_low_level is not None, 'vm_low_level is None, please use compile()' return self.vm_low_level.get_json() -- cgit 1.2.3-korg