projects
/
pygrader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25affca
)
mailpipe: don't double-repr subjects for InvalidHandlerMessage responses.
author
W. Trevor King
<wking@tremily.us>
Sun, 2 Sep 2012 15:34:50 +0000
(11:34 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sun, 2 Sep 2012 15:34:50 +0000
(11:34 -0400)
pygrader/mailpipe.py
patch
|
blob
|
history
diff --git
a/pygrader/mailpipe.py
b/pygrader/mailpipe.py
index f2a967188bba4ac71b3da6c65a81983482d78548..7f3902b40a17060ccb67f1db4f0a5dc946100aa9 100644
(file)
--- 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.'