From 3a11183a3e9cd43d1a51e7543a17b96984554bef Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 26 Sep 2012 15:34:30 -0400 Subject: [PATCH] signature: fix inverse dictionary name typo in get_public_key_algorithm. --- pgp_mime/signature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.26.2