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 <gniibe@fsij.org>
This commit is contained in:
parent
49883023f6
commit
47135ffdb9
4
NEWS
4
NEWS
@ -1,8 +1,10 @@
|
|||||||
Noteworthy changes in version 1.13.1 (unreleased)
|
Noteworthy changes in version 1.13.1 (unreleased)
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
|
* Python: Fix DecryptionError Exception. [#4478]
|
||||||
|
|
||||||
* Python: No longer raises BadSignatures from
|
* Python: No longer raises BadSignatures from
|
||||||
decrypt(verify=True). [4276]
|
decrypt(verify=True). [#4276]
|
||||||
|
|
||||||
* cpp: gpgme_set_global_flag is now wrapped.
|
* cpp: gpgme_set_global_flag is now wrapped.
|
||||||
[#4471]
|
[#4471]
|
||||||
|
@ -163,13 +163,13 @@ class InvalidRecipients(EncryptionError):
|
|||||||
for r in self.recipients)
|
for r in self.recipients)
|
||||||
|
|
||||||
|
|
||||||
class DeryptionError(GpgError):
|
class DecryptionError(GpgError):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class UnsupportedAlgorithm(DeryptionError):
|
class UnsupportedAlgorithm(DecryptionError):
|
||||||
def __init__(self, algorithm, **kwargs):
|
def __init__(self, algorithm, **kwargs):
|
||||||
DeryptionError.__init__(self, **kwargs)
|
DecryptionError.__init__(self, **kwargs)
|
||||||
self.algorithm = algorithm
|
self.algorithm = algorithm
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user