From d226263174a654676f3422d9da1891583e27a611 Mon Sep 17 00:00:00 2001 From: Max Shabalihin Date: Mon, 12 Aug 2013 17:26:44 +0400 Subject: [PATCH] fix NotImplemented not found --- jnius/jnius_proxy.pxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jnius/jnius_proxy.pxi b/jnius/jnius_proxy.pxi index 6ef6ab8..76827a3 100644 --- a/jnius/jnius_proxy.pxi +++ b/jnius/jnius_proxy.pxi @@ -68,7 +68,7 @@ cdef class PythonJavaClass(object): '\nJava method name:', method_name, '\nSignature: ({}){}'.format(''.join(args_signature), ret_signature), '\n=======================================\n'])) - raise NotImplemented('The method {} is not implemented'.format(key)) + raise NotImplementedError('The method {} is not implemented'.format(key)) return py_method(*args)