From 93744f6c499a77fc11973bf1100057f529a3724e Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 2 Sep 2012 11:34:50 -0400 Subject: [PATCH] mailpipe: don't double-repr subjects for InvalidHandlerMessage responses. --- pygrader/mailpipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygrader/mailpipe.py b/pygrader/mailpipe.py index f2a9671..7f3902b 100644 --- a/pygrader/mailpipe.py +++ b/pygrader/mailpipe.py @@ -911,7 +911,7 @@ def _get_error_response(error): ' {!r}\n' 'which does not match any submittable handler name for\n' '{}.\n' - '{}').format(repr(error.subject), error.course.name, hint) + '{}').format(error.subject, error.course.name, hint) elif isinstance(error, SubjectlessMessage): subject = 'no subject in {}'.format(error.message['Message-ID']) text = 'We received an email message from you without a subject.' -- 2.26.2