aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/commands')
-rw-r--r--src/mailman_pgp/commands/eml_key.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman_pgp/commands/eml_key.py b/src/mailman_pgp/commands/eml_key.py
index 1f39888..0775bed 100644
--- a/src/mailman_pgp/commands/eml_key.py
+++ b/src/mailman_pgp/commands/eml_key.py
@@ -16,6 +16,7 @@
# this program. If not, see <http://www.gnu.org/licenses/>.
"""The key email command."""
+import logging
from email.mime.text import MIMEText
from mailman.email.message import UserNotification
@@ -38,6 +39,8 @@ from mailman_pgp.workflows.key_change import (CHANGE_CONFIRM_REQUEST,
KeyChangeWorkflow)
from mailman_pgp.workflows.pubkey import CONFIRM_REQUEST
+log = logging.getLogger('mailman.plugin.pgp.commands')
+
def _cmd_set(pgp_list, mlist, msg, msgdata, arguments, results):
"""
@@ -345,4 +348,5 @@ class KeyCommand:
return ContinueProcessing.no
command = SUBCOMMANDS[arguments[0]]
+ log.debug('key {}'.format(arguments[0]))
return command(pgp_list, mlist, msg, msgdata, arguments, results)