summaryrefslogtreecommitdiff
path: root/paste/httpexceptions.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2005-12-13 08:30:20 +0000
committercce <devnull@localhost>2005-12-13 08:30:20 +0000
commit69137a1f1bfea71fcaf755bd030574a0e1befa3b (patch)
treefcfc7f7722ae691f29d989da1c2d1b7a0ec5c520 /paste/httpexceptions.py
parente6d3daa93b95a5597575eb466b3a580ff26bb810 (diff)
downloadpaste-69137a1f1bfea71fcaf755bd030574a0e1befa3b.tar.gz
- redirects should include comments
- testserver was importing wrong modules
Diffstat (limited to 'paste/httpexceptions.py')
-rw-r--r--paste/httpexceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/httpexceptions.py b/paste/httpexceptions.py
index af0b7ea..ebb67fe 100644
--- a/paste/httpexceptions.py
+++ b/paste/httpexceptions.py
@@ -267,7 +267,7 @@ class _HTTPMove(HTTPRedirection):
template = (
'%(explanation)s <a href="%(location)s">%(location)s</a>;\n'
'you should be redirected automatically.\n'
- '%(detail)s\n')
+ '%(detail)s\n<!-- %(comment)s -->')
def __init__(self, detail=None, headers=None, comment=None):
assert isinstance(headers, (type(None), list))