aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammed Attia <skeuomorf@gmail.com>2014-03-04 02:57:40 +0200
committerMohammed Attia <skeuomorf@gmail.com>2014-03-04 02:57:40 +0200
commitdada0f8e13ac12a97b75acb68cc3d4cefca2f398 (patch)
treea6ab55fe25f4f61de552687d5d0b296999c7329b
parent157a1fc9a2c057ac45738dfa5ed1cc36ce0c6cac (diff)
downloadcryptography-dada0f8e13ac12a97b75acb68cc3d4cefca2f398.tar.gz
cryptography-dada0f8e13ac12a97b75acb68cc3d4cefca2f398.tar.bz2
cryptography-dada0f8e13ac12a97b75acb68cc3d4cefca2f398.zip
Change parameters from abstractproperty to abstractmethod
-rw-r--r--cryptography/hazmat/primitives/interfaces.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptography/hazmat/primitives/interfaces.py b/cryptography/hazmat/primitives/interfaces.py
index 245302e6..a6da7db1 100644
--- a/cryptography/hazmat/primitives/interfaces.py
+++ b/cryptography/hazmat/primitives/interfaces.py
@@ -358,7 +358,7 @@ class DSAPrivateKey(six.with_metaclass(abc.ABCMeta)):
The public key.
"""
- @abc.abstractproperty
+ @abc.abstractmethod
def parameters(self):
"""
The DSAParams object associated with this private key.
@@ -372,7 +372,7 @@ class DSAPublicKey(six.with_metaclass(abc.ABCMeta)):
The public key.
"""
- @abc.abstractproperty
+ @abc.abstractmethod
def parameters(self):
"""
The DSAParams object associated with this public key.