aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/commands/eml_key.py
diff options
context:
space:
mode:
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