diff options
| author | Barry Warsaw | 2009-01-16 21:04:21 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-01-16 21:04:21 -0500 |
| commit | ae3d0cc316b826b8325507d960ccf84da601c3b0 (patch) | |
| tree | 3485e2ca463c2131a0ffb1693bc60d569cc9d8b7 /mailman/app/commands.py | |
| parent | a3f7d07c62b2f7d6ac9d0b700883826c2838db60 (diff) | |
| download | mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.tar.gz mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.tar.zst mailman-ae3d0cc316b826b8325507d960ccf84da601c3b0.zip | |
Diffstat (limited to 'mailman/app/commands.py')
| -rw-r--r-- | mailman/app/commands.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mailman/app/commands.py b/mailman/app/commands.py index ef7b0a7c7..d7676af9c 100644 --- a/mailman/app/commands.py +++ b/mailman/app/commands.py @@ -17,6 +17,8 @@ """Initialize the email commands.""" +from __future__ import unicode_literals + __metaclass__ = type __all__ = [ 'initialize', @@ -37,6 +39,6 @@ def initialize(): if not IEmailCommand.implementedBy(command_class): continue assert command_class.name not in config.commands, ( - 'Duplicate email command "%s" found in %s' % - (command_class.name, module)) + 'Duplicate email command "{0}" found in {1}'.format( + command_class.name, module)) config.commands[command_class.name] = command_class() |
