From: W. Trevor King Date: Wed, 26 Sep 2012 19:34:30 +0000 (-0400) Subject: signature: fix inverse dictionary name typo in get_public_key_algorithm. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a11183a3e9cd43d1a51e7543a17b96984554bef;p=pgp-mime.git signature: fix inverse dictionary name typo in get_public_key_algorithm. --- diff --git a/pgp_mime/signature.py b/pgp_mime/signature.py index e65fdd4..1f7a1d2 100644 --- a/pgp_mime/signature.py +++ b/pgp_mime/signature.py @@ -264,7 +264,7 @@ class Signature (object): self.public_key_algorithm = self._public_key_algorithm_enum[value] def get_public_key_algorithm(self): - return self._error_pubkey_algorithm_inv[self.public_key_algorithm] + return self._public_key_algorithm_inv[self.public_key_algorithm] def set_hash_algorithm(self, value): self.hash_algorithm = self._hash_algorithm_enum[value]