From 039a1c2f1401ebf3b38fa9bd55dffff0713b8b98 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 27 Nov 2018 01:41:35 -0800 Subject: vpp_papi: Fix: raise NotImplemented. 'raise NotImplemented' should be 'raise NotImplementedError'. NotImplemented is not part of the Exception heirarchy. Change-Id: I7fb647f1d56e689fafa2cd9a5566da826def072b Signed-off-by: Paul Vinciguerra --- src/vpp-api/python/vpp_papi/vpp_transport_socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vpp-api/python/vpp_papi/vpp_transport_socket.py b/src/vpp-api/python/vpp_papi/vpp_transport_socket.py index af9498533d9..49e565980f2 100644 --- a/src/vpp-api/python/vpp_papi/vpp_transport_socket.py +++ b/src/vpp-api/python/vpp_papi/vpp_transport_socket.py @@ -119,7 +119,7 @@ class VppTransport(object): pass def callback(self): - raise NotImplemented + raise NotImplementedError def get_callback(self, do_async): return self.callback -- cgit 1.2.3-korg