From: W. Trevor King Date: Thu, 20 Sep 2012 11:27:53 +0000 (-0400) Subject: mailpipe: standardize error responses with 'We got' -> 'We received'. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b46ccc7068f570d8a646c315ea93b43dfd2c08dd;p=pygrader.git mailpipe: standardize error responses with 'We got' -> 'We received'. --- diff --git a/pygrader/mailpipe.py b/pygrader/mailpipe.py index 48c724f..6ebe25e 100644 --- a/pygrader/mailpipe.py +++ b/pygrader/mailpipe.py @@ -995,7 +995,7 @@ def _get_error_response(error): 'Perhaps you meant to use one of the following:\n' ' {}').format('\n '.join(targets)) text = ( - 'We got an email from you with the following subject:\n' + 'We received an email from you with the following subject:\n' ' {!r}\n' 'which does not match any submittable handler name for\n' '{}.\n' @@ -1031,11 +1031,11 @@ def _get_error_response(error): 'subject. For example:\n' ' {} submission').format(assignments[0].name) text = ( - 'We got an email from you with the following subject:\n' + 'We received an email from you with the following subject:\n' ' {!r}\n{}').format(error.subject, hint) elif isinstance(error, _InvalidStudentSubject): text = ( - 'We got an email from you with the following subject:\n' + 'We received an email from you with the following subject:\n' ' {!r}\n' 'but it matches several students:\n' ' * {}').format( @@ -1052,7 +1052,7 @@ def _get_error_response(error): ) elif isinstance(error, _PermissionViolationMessage): text = ( - 'We got an email from you with the following subject:\n' + 'We received an email from you with the following subject:\n' ' {!r}\n' "but you can't do that unless you belong to one of the\n" 'following groups:\n'