From bf940c86bf42a66320193b5bc628aa810667d4b4 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 21 Oct 2014 11:15:41 -0700 Subject: py3k fix --- cryptography/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cryptography/utils.py b/cryptography/utils.py index 636776f4..818f4e80 100644 --- a/cryptography/utils.py +++ b/cryptography/utils.py @@ -37,7 +37,7 @@ def verify_interface(iface, klass): raise InterfaceNotImplemented( "{0} is missing a {1!r} method".format(klass, method) ) - spec = getattr(iface, method).__func__ + spec = getattr(iface, method) actual = getattr(klass, method) if inspect.getargspec(spec) != inspect.getargspec(actual): raise InterfaceNotImplemented( -- cgit v1.2.3