From 47135ffdb923de66bc275a37e31811ad22c73dd7 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Tue, 4 Jun 2019 10:38:17 +0900 Subject: python: Fix typo in DecryptionError exception. * lang/python/src/errors.py (DecryptionError): Rename from DeryptionError. (UnsupportedAlgorithm): Use DecryptionError. -- GnuPG-bug-id: 4478 Reported-by: Jan Girlich Signed-off-by: NIIBE Yutaka --- lang/python/src/errors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lang/python/src/errors.py') diff --git a/lang/python/src/errors.py b/lang/python/src/errors.py index 9c7f0378..5a58dea8 100644 --- a/lang/python/src/errors.py +++ b/lang/python/src/errors.py @@ -163,13 +163,13 @@ class InvalidRecipients(EncryptionError): for r in self.recipients) -class DeryptionError(GpgError): +class DecryptionError(GpgError): pass -class UnsupportedAlgorithm(DeryptionError): +class UnsupportedAlgorithm(DecryptionError): def __init__(self, algorithm, **kwargs): - DeryptionError.__init__(self, **kwargs) + DecryptionError.__init__(self, **kwargs) self.algorithm = algorithm def __str__(self): -- cgit v1.2.3