signature: fix inverse dictionary name typo in get_public_key_algorithm.
authorW. Trevor King <wking@tremily.us>
Wed, 26 Sep 2012 19:34:30 +0000 (15:34 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 26 Sep 2012 19:34:30 +0000 (15:34 -0400)
pgp_mime/signature.py

index e65fdd4dd316e78775a40d8af88d2d48e96fae3e..1f7a1d2e5c97a569b211e1a02d32dcfdfb71b4cb 100644 (file)
@@ -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]