summaryrefslogtreecommitdiff
path: root/cherrypy/lib/cptools.py
diff options
context:
space:
mode:
authorSylvain Hellegouarch <sh@defuze.org>2009-09-30 11:54:50 +0000
committerSylvain Hellegouarch <sh@defuze.org>2009-09-30 11:54:50 +0000
commitae56abbd41f28fdd2bd28031652df851de190ae2 (patch)
treeb06ecc39a253e29a774bb06b4084393c444d94cf /cherrypy/lib/cptools.py
parent60a5d96bd8ed3e4baebe4756cf5a48986920d112 (diff)
downloadcherrypy-git-ae56abbd41f28fdd2bd28031652df851de190ae2.tar.gz
Missing request object on debug
Diffstat (limited to 'cherrypy/lib/cptools.py')
-rw-r--r--cherrypy/lib/cptools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/cptools.py b/cherrypy/lib/cptools.py
index 796c1f49..33b86ae6 100644
--- a/cherrypy/lib/cptools.py
+++ b/cherrypy/lib/cptools.py
@@ -421,7 +421,7 @@ def trailing_slash(missing=True, extra=False, status=None, debug=False):
if debug:
cherrypy.log('is_index: %r, missing: %r, extra: %r, path_info: %r' %
- (request.is_index, missing, extra, path_info),
+ (request.is_index, missing, extra, request.path_info),
'TOOLS.TRAILING_SLASH')
if request.is_index is True:
if missing: