vpp_papi: Fix: raise NotImplemented. 07/16207/4
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Tue, 27 Nov 2018 09:41:35 +0000 (01:41 -0800)
committerOle Trøan <otroan@employees.org>
Thu, 29 Nov 2018 18:51:44 +0000 (18:51 +0000)
'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>
src/vpp-api/python/vpp_papi/vpp_transport_socket.py

index af94985..49e5659 100644 (file)
@@ -119,7 +119,7 @@ class VppTransport(object):
         pass
 
     def callback(self):
-        raise NotImplemented
+        raise NotImplementedError
 
     def get_callback(self, do_async):
         return self.callback