Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Fix english typo in error message. #527

Merged
merged 2 commits into from
Oct 30, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cliquet/tests/test_views_errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_404_is_valid_formatted_error(self):
response = self.app.get('/unknown', status=404)
self.assertFormattedError(
response, 404, ERRORS.MISSING_RESOURCE, "Not Found",
"The resource your are looking for could not be found.")
"The resource you are looking for could not be found.")

def test_401_is_valid_formatted_error(self):
response = self.app.get(self.sample_url, status=401)
Expand Down
2 changes: 1 addition & 1 deletion cliquet/views/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def page_not_found(request):
"""Return a JSON 404 error response."""
if request.path.startswith('/' + request.registry.route_prefix):
errno = ERRORS.MISSING_RESOURCE
error_msg = "The resource your are looking for could not be found."
error_msg = "The resource you are looking for could not be found."
else:
errno = ERRORS.VERSION_NOT_AVAILABLE
error_msg = ("The requested protocol version is not available "
Expand Down