diff options
author | Alex Stapleton <alexs@prol.etari.at> | 2014-04-16 11:11:35 +0100 |
---|---|---|
committer | Alex Stapleton <alexs@prol.etari.at> | 2014-05-23 21:05:47 +0100 |
commit | df7ba81f4e89048c6a13dfded26786a7cc593762 (patch) | |
tree | 46dd1229a683e229601d208072e777d5da02f6fc | |
parent | 085f37861e4a505a12a1ddb940788a3025fdcf4f (diff) | |
download | cryptography-df7ba81f4e89048c6a13dfded26786a7cc593762.tar.gz cryptography-df7ba81f4e89048c6a13dfded26786a7cc593762.tar.bz2 cryptography-df7ba81f4e89048c6a13dfded26786a7cc593762.zip |
Use @six.add_metaclass(abc.ABCMeta)
-rw-r--r-- | cryptography/hazmat/primitives/interfaces.py | 9 |
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): """ |