From dada0f8e13ac12a97b75acb68cc3d4cefca2f398 Mon Sep 17 00:00:00 2001 From: Mohammed Attia Date: Tue, 4 Mar 2014 02:57:40 +0200 Subject: Change parameters from abstractproperty to abstractmethod --- cryptography/hazmat/primitives/interfaces.py | 4 ++-- 1 file 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. -- cgit v1.2.3