From c0ed1e296302924b023769e2a0bc3ffb9b263aef Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 21 Oct 2012 15:57:00 -0400 Subject: [PATCH] pgp: pass signers from sign() to sign_and_encrypt_bytes(). This was broken by: commit 22631c163eafe882d71110e250ef48ee106cabf7 Author: W. Trevor King Date: Wed Oct 10 09:18:41 2012 -0400 Add gpgme-tool.socket-path configuration to smtplib.conf. --- pgp_mime/pgp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pgp_mime/pgp.py b/pgp_mime/pgp.py index 6bc2d11..d709cfb 100644 --- a/pgp_mime/pgp.py +++ b/pgp_mime/pgp.py @@ -43,7 +43,7 @@ def _flatten(message): generator.flatten(message) return bytesio.getvalue() -def sign(message, signers=None, **kwargs): +def sign(message, **kwargs): r"""Sign a ``Message``, returning the signed version. multipart/signed -- 2.26.2