summaryrefslogtreecommitdiffstats
path: root/keystone/common/wsgi.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-12-13 10:01:21 -0600
committerDolph Mathews <dolph.mathews@gmail.com>2012-12-14 08:31:54 -0600
commitbe3dcf9873fb84bbb5c2cd3ed8f36444f353757e (patch)
treef0eb7d69481d9798e885a16ad3910e82cfde9dab /keystone/common/wsgi.py
parent4e2be8a8880f03b1c6d1dc663d7259dbb45ddf67 (diff)
downloadkeystone-be3dcf9873fb84bbb5c2cd3ed8f36444f353757e.tar.gz
keystone-be3dcf9873fb84bbb5c2cd3ed8f36444f353757e.tar.xz
keystone-be3dcf9873fb84bbb5c2cd3ed8f36444f353757e.zip
Test for content-type appropriate 404 (bug 1089987)
Change-Id: Idfba75f90e38de315ec50e660932beb8243f76f8
Diffstat (limited to 'keystone/common/wsgi.py')
-rw-r--r--keystone/common/wsgi.py2
1 files changed, 1 insertions, 1 deletions
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