summaryrefslogtreecommitdiff
path: root/src/leap/mail/smtp/rfc3156.py
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2013-12-19 23:45:39 -0200
committerdrebs <drebs@leap.se>2013-12-20 07:53:50 -0200
commit8547783e7fe517772d610b0ae73b0b6be6450e98 (patch)
treecb69e61c053e0ad2e6a6993cbcb68b5c589cc732 /src/leap/mail/smtp/rfc3156.py
parent05884e9fd9a6131eaff6f86b37af8dc7b0a88217 (diff)
Fix tests and bug introduced in 541bd8aec1f67834c42bc2e5df14c1f73c569082.
Diffstat (limited to 'src/leap/mail/smtp/rfc3156.py')
-rw-r--r--src/leap/mail/smtp/rfc3156.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/leap/mail/smtp/rfc3156.py b/src/leap/mail/smtp/rfc3156.py
index b0288b4..9739531 100644
--- a/src/leap/mail/smtp/rfc3156.py
+++ b/src/leap/mail/smtp/rfc3156.py
@@ -361,7 +361,7 @@ class PGPSignature(MIMEApplication):
"""
def __init__(self, _data, name='signature.asc'):
MIMEApplication.__init__(self, _data, 'pgp-signature',
- encoder=lambda x: x, name=name)
+ _encoder=lambda x: x, name=name)
self.add_header('Content-Description', 'OpenPGP Digital Signature')