summaryrefslogtreecommitdiff
path: root/paste/urlmap.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2007-08-08 17:09:25 +0000
committercce <devnull@localhost>2007-08-08 17:09:25 +0000
commit884b0b143f6da8f791117dabe4976a734be83e22 (patch)
treeb0ff0aa3a5eb3f6c4e4201b58e716534be81ed02 /paste/urlmap.py
parentede8e9e3e0e5d4cb9cdf9c900a20284e3d1e2bad (diff)
downloadpaste-884b0b143f6da8f791117dabe4976a734be83e22.tar.gz
- fix urlmap to include the path that was not found and not
give a redundant message of not being found 2x
Diffstat (limited to 'paste/urlmap.py')
-rw-r--r--paste/urlmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/urlmap.py b/paste/urlmap.py
index bb39e49..c80ce71 100644
--- a/paste/urlmap.py
+++ b/paste/urlmap.py
@@ -104,7 +104,7 @@ class URLMap(DictMixin):
extra += '\nPATH_INFO: %r' % environ.get('PATH_INFO')
extra += '\nHTTP_HOST: %r' % environ.get('HTTP_HOST')
app = httpexceptions.HTTPNotFound(
- 'The resource was not found',
+ environ['PATH_INFO'],
comment=extra).wsgi_application
return app(environ, start_response)