aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/pgp/wrapper.py
diff options
context:
space:
mode:
authorJ08nY2017-07-28 02:46:01 +0200
committerJ08nY2017-07-28 02:46:01 +0200
commitf48c5d7f60e73593f347b346cdf5caedf0c05628 (patch)
treec5e1cfd7c949a06cc6ac62f227fe275693dcce00 /src/mailman_pgp/pgp/wrapper.py
parent56b600fb0131b1c3b3ec06d85ec4810026279864 (diff)
parentf190131409ada6126977965f6607224d4d97aa84 (diff)
downloadmailman-pgp-f48c5d7f60e73593f347b346cdf5caedf0c05628.tar.gz
mailman-pgp-f48c5d7f60e73593f347b346cdf5caedf0c05628.tar.zst
mailman-pgp-f48c5d7f60e73593f347b346cdf5caedf0c05628.zip
Diffstat (limited to 'src/mailman_pgp/pgp/wrapper.py')
-rw-r--r--src/mailman_pgp/pgp/wrapper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman_pgp/pgp/wrapper.py b/src/mailman_pgp/pgp/wrapper.py
index af6ce44..59f0fdd 100644
--- a/src/mailman_pgp/pgp/wrapper.py
+++ b/src/mailman_pgp/pgp/wrapper.py
@@ -85,7 +85,8 @@ class PGPWrapper():
"""
:return:
- :rtype: typing.Generator[pgpy.PGPMessage|pgpy.PGPSignature]
+ :rtype: typing.Generator[pgpy.PGPMessage|pgpy.PGPSignature|
+ pgpy.PGPDetachedSignature]
"""
if self.mime.is_signed():
yield from self.mime.get_signature()