summaryrefslogtreecommitdiff
path: root/src/mailman_pgp/commands/eml_key.py
diff options
context:
space:
mode:
authorJ08nY2017-08-02 00:15:21 +0200
committerJ08nY2017-08-02 01:35:10 +0200
commitfa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc (patch)
tree5dee4554ab4b99fb2dd9b93f8e43a4978ad0d469 /src/mailman_pgp/commands/eml_key.py
parentdff7befbc5860f2f78f63ab694ef88d21a53771f (diff)
downloadmailman-pgp-fa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc.tar.gz
mailman-pgp-fa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc.tar.zst
mailman-pgp-fa2b97fb2e6e75af8bfc0bc3620b1a37179bdedc.zip
Diffstat (limited to 'src/mailman_pgp/commands/eml_key.py')
-rw-r--r--src/mailman_pgp/commands/eml_key.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman_pgp/commands/eml_key.py b/src/mailman_pgp/commands/eml_key.py
index 1f39888..bea9745 100644
--- a/src/mailman_pgp/commands/eml_key.py
+++ b/src/mailman_pgp/commands/eml_key.py
@@ -270,7 +270,7 @@ def _cmd_receive(pgp_list, mlist, msg, msgdata, arguments, results):
msg['MIME-Version'] = '1.0'
msg.attach(MIMEText('Here is the public key you requested.'))
wrapped = MIMEWrapper(msg)
- msg = wrapped.attach_key(pgp_list.pubkey)
+ msg = wrapped.attach_keys(pgp_list.pubkey)
msg.send(mlist)
return ContinueProcessing.yes