pgp: pass signers from sign() to sign_and_encrypt_bytes().
authorW. Trevor King <wking@tremily.us>
Sun, 21 Oct 2012 19:57:00 +0000 (15:57 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 21 Oct 2012 20:01:13 +0000 (16:01 -0400)
This was broken by:

  commit 22631c163eafe882d71110e250ef48ee106cabf7
  Author: W. Trevor King <wking@tremily.us>
  Date:   Wed Oct 10 09:18:41 2012 -0400

    Add gpgme-tool.socket-path configuration to smtplib.conf.

pgp_mime/pgp.py

index 6bc2d11ca673fe5c5682c687f52480a34e9047a3..d709cfbcaebcc631bc79ca17af9d75a34a35bdab 100644 (file)
@@ -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