From: W. Trevor King Date: Sun, 2 Sep 2012 15:34:50 +0000 (-0400) Subject: mailpipe: don't double-repr subjects for InvalidHandlerMessage responses. X-Git-Tag: v0.3~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=93744f6c499a77fc11973bf1100057f529a3724e;p=pygrader.git mailpipe: don't double-repr subjects for InvalidHandlerMessage responses. --- 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.'