diff options
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() |
