Changeset View
Changeset View
Standalone View
Standalone View
lang/python/src/errors.py
Context not available. | |||||
gpgme.gpgme_strerror(r.reason)) | gpgme.gpgme_strerror(r.reason)) | ||||
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): | ||||
return self.algorithm | return self.algorithm | ||||
Context not available. |