diff options
| author | cce <devnull@localhost> | 2005-12-13 08:30:20 +0000 |
|---|---|---|
| committer | cce <devnull@localhost> | 2005-12-13 08:30:20 +0000 |
| commit | 69137a1f1bfea71fcaf755bd030574a0e1befa3b (patch) | |
| tree | fcfc7f7722ae691f29d989da1c2d1b7a0ec5c520 /paste/httpexceptions.py | |
| parent | e6d3daa93b95a5597575eb466b3a580ff26bb810 (diff) | |
| download | paste-69137a1f1bfea71fcaf755bd030574a0e1befa3b.tar.gz | |
- redirects should include comments
- testserver was importing wrong modules
Diffstat (limited to 'paste/httpexceptions.py')
| -rw-r--r-- | paste/httpexceptions.py | 2 |
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)) |
