aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-10-21 11:15:41 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-10-21 11:15:41 -0700
commitbf940c86bf42a66320193b5bc628aa810667d4b4 (patch)
treed3aba3e6d425f8b6cd28adb33de75d3b01659c66
parentf6d8ccc954fb3a2ecd1821b775837398a461ab3a (diff)
downloadcryptography-bf940c86bf42a66320193b5bc628aa810667d4b4.tar.gz
cryptography-bf940c86bf42a66320193b5bc628aa810667d4b4.tar.bz2
cryptography-bf940c86bf42a66320193b5bc628aa810667d4b4.zip
py3k fix
-rw-r--r--cryptography/utils.py2
1 files changed, 1 insertions, 1 deletions
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(