From ff31bf58804fc984c694f6acfaa302042bc85d89 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sun, 3 Jan 2016 21:59:35 -0500 Subject: Boost coverage. Use coverage.ini to ignore a few common idioms, so as to reduce code clutter. Invoke coverage slightly differently in the tox.ini. --- src/mailman/app/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/app/commands.py') diff --git a/src/mailman/app/commands.py b/src/mailman/app/commands.py index 45afe230e..35158da2a 100644 --- a/src/mailman/app/commands.py +++ b/src/mailman/app/commands.py @@ -35,6 +35,6 @@ def initialize(): command = command_class() verifyObject(IEmailCommand, command) assert command_class.name not in config.commands, ( - 'Duplicate email command "{0}" found in {1}'.format( + 'Duplicate email command "{}" found in {}'.format( command_class.name, command_class.__module__)) config.commands[command_class.name] = command_class() -- cgit v1.2.3-70-g09d2