aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/primitives/interfaces.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index ef8566bd..bec7ee7f 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -491,7 +491,8 @@ class CMACContext(object):
"""
-class EllipticCurve(six.with_metaclass(abc.ABCMeta)):
+@six.add_metaclass(abc.ABCMeta)
+class EllipticCurve(object):
@abc.abstractproperty
def name(self):
"""
@@ -505,7 +506,8 @@ class EllipticCurve(six.with_metaclass(abc.ABCMeta)):
"""
-class EllipticCurvePrivateKey(six.with_metaclass(abc.ABCMeta)):
+@six.add_metaclass(abc.ABCMeta)
+class EllipticCurvePrivateKey(object):
@abc.abstractproperty
def curve(self):
"""
@@ -543,7 +545,8 @@ class EllipticCurvePrivateKey(six.with_metaclass(abc.ABCMeta)):
"""
-class EllipticCurvePublicKey(six.with_metaclass(abc.ABCMeta)):
+@six.add_metaclass(abc.ABCMeta)
+class EllipticCurvePublicKey(object):
@abc.abstractproperty
def curve(self):
"""