aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/commands/eml_key.py
diff options
context:
space:
mode:
authorJ08nY2017-08-07 00:50:19 +0200
committerJ08nY2017-08-07 00:50:19 +0200
commit59ec076d04340245101de98633705d312374d9fe (patch)
tree8614919b84fa1f2d6cc3edeb39f197bd7bfe518b /src/mailman_pgp/commands/eml_key.py
parent570dfe8007d21593816d90df21f9f4fa25a7dae3 (diff)
downloadmailman-pgp-feature/key-revocation.tar.gz
mailman-pgp-feature/key-revocation.tar.zst
mailman-pgp-feature/key-revocation.zip
Diffstat (limited to 'src/mailman_pgp/commands/eml_key.py')
-rw-r--r--src/mailman_pgp/commands/eml_key.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mailman_pgp/commands/eml_key.py b/src/mailman_pgp/commands/eml_key.py
index 5c53699..447ecf4 100644
--- a/src/mailman_pgp/commands/eml_key.py
+++ b/src/mailman_pgp/commands/eml_key.py
@@ -179,6 +179,8 @@ def _cmd_confirm(pgp_list, mlist, msg, msgdata, arguments, results):
for sig_subject in wrapped.get_signed():
if expecting in sig_subject:
+ with transaction():
+ pgp_address.key_confirmed = True
ISubscriptionManager(mlist).confirm(token)
break
else: