aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/src/errors.py
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2019-06-04 01:38:17 +0000
committerNIIBE Yutaka <[email protected]>2019-06-04 01:38:17 +0000
commit47135ffdb923de66bc275a37e31811ad22c73dd7 (patch)
treecfce8d0b97d1f812b2fe8714dfe1dee56784bc98 /lang/python/src/errors.py
parentAdd NEWS for 1.13.1 (diff)
downloadgpgme-47135ffdb923de66bc275a37e31811ad22c73dd7.tar.gz
gpgme-47135ffdb923de66bc275a37e31811ad22c73dd7.zip
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r--lang/python/src/errors.py6
1 files changed, 3 insertions, 3 deletions
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):