diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-11-01 11:15:23 -0600 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-11-01 11:15:23 -0600 |
commit | 48a543abe566dcb72803ae243d1683419d3761e9 (patch) | |
tree | 29bc50374c8e49ff4a98c0e5a13c24da1e71d03d /alot/crypto.py | |
parent | 13d4afeda738ff85da5f0b62d19c29a68c4e5689 (diff) |
crypto: use sphyinx 'raise' first param to give the type
Diffstat (limited to 'alot/crypto.py')
-rw-r--r-- | alot/crypto.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/crypto.py b/alot/crypto.py index cb9eba03..2f9771df 100644 --- a/alot/crypto.py +++ b/alot/crypto.py @@ -194,7 +194,7 @@ def verify_detached(message, signature): :param bytes signature: the OpenPGP signature to verify :returns: a list of signatures :rtype: list[gpg.results.Signature] - :raises: :class:`~alot.errors.GPGProblem` if the verification fails + :raises alot.errors.GPGProblem: if the verification fails """ ctx = gpg.core.Context() try: @@ -214,7 +214,7 @@ def decrypt_verify(encrypted, session_keys=None): :param list[str] session_keys: a list OpenPGP session keys :returns: the signatures and decrypted plaintext data :rtype: tuple[list[gpg.resuit.Signature], str] - :raises: :class:`~alot.errors.GPGProblem` if the decryption fails + :raises alot.errors.GPGProblem: if the decryption fails """ if session_keys is not None: try: |