From a7967979b47845a1736e734c1c16f5929ae6fd48 Mon Sep 17 00:00:00 2001 From: Dan Klein Date: Wed, 16 Dec 2015 08:53:08 +0200 Subject: cleaned the code a little, added load_packet_from_pcap into packet builder functionality. --- scripts/automation/trex_control_plane/console/trex_tui.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/automation/trex_control_plane/console/trex_tui.py') diff --git a/scripts/automation/trex_control_plane/console/trex_tui.py b/scripts/automation/trex_control_plane/console/trex_tui.py index 6b0aa50a..febe62f4 100644 --- a/scripts/automation/trex_control_plane/console/trex_tui.py +++ b/scripts/automation/trex_control_plane/console/trex_tui.py @@ -32,12 +32,11 @@ class TrexTUIPanel(object): self.name = name self.stateless_client = mng.stateless_client - def show (self): - raise Exception("must implement this") + raise NotImplementedError("must implement this") def get_key_actions (self): - raise Exception("must implement this") + raise NotImplementedError("must implement this") def get_name (self): return self.name -- cgit 1.2.3-korg