From: W. Trevor King Date: Sun, 21 Oct 2012 19:57:00 +0000 (-0400) Subject: pgp: pass signers from sign() to sign_and_encrypt_bytes(). X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c0ed1e296302924b023769e2a0bc3ffb9b263aef;p=pgp-mime.git 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. --- 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