From be3dcf9873fb84bbb5c2cd3ed8f36444f353757e Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Thu, 13 Dec 2012 10:01:21 -0600 Subject: Test for content-type appropriate 404 (bug 1089987) Change-Id: Idfba75f90e38de315ec50e660932beb8243f76f8 --- keystone/common/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'keystone') diff --git a/keystone/common/wsgi.py b/keystone/common/wsgi.py index b3de4804..2cc13446 100644 --- a/keystone/common/wsgi.py +++ b/keystone/common/wsgi.py @@ -427,7 +427,7 @@ class Router(object): match = req.environ['wsgiorg.routing_args'][1] if not match: return render_exception( - exception.NotFound(message='The resource could not be found.')) + exception.NotFound(_('The resource could not be found.'))) app = match['controller'] return app -- cgit