summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-11-27 01:41:35 -0800
committerOle Trøan <otroan@employees.org>2018-11-29 18:51:44 +0000
commit039a1c2f1401ebf3b38fa9bd55dffff0713b8b98 (patch)
treeb678c67355083a405a7ce689db83ef5ae0ad20ff
parent56d68cb23d6f5d8dac5477e29c310104ff3bb8bd (diff)
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 <pvinci@vinciconsulting.com>
-rw-r--r--src/vpp-api/python/vpp_papi/vpp_transport_socket.py2
1 files changed, 1 insertions, 1 deletions
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