diff options
author | cce <devnull@localhost> | 2005-12-06 05:32:31 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2005-12-06 05:32:31 +0000 |
commit | 60a233341427892ac24f5b2a67b48ad7bf44cf59 (patch) | |
tree | 94145546a8f35c63df89714e9c1df755b64f50d6 /paste/httpexceptions.py | |
parent | 6744cbce9ac77ad9f4b6711c7cd7b5d550d43cef (diff) | |
download | paste-60a233341427892ac24f5b2a67b48ad7bf44cf59.tar.gz |
fixed bug /w html() method of HTTPException where the environ was being accidently updated; and code that prevented _HTTPMove from working properly
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 788457d..5dcf042 100644 --- a/paste/httpexceptions.py +++ b/paste/httpexceptions.py @@ -31,7 +31,7 @@ class HTTPException(Exception): message = self.message args = environ.copy() if self.headers: - environ.update(self.headers) + args.update(self.headers) message = message % args return ('<html><head><title>%(title)s</title></head>\n' '<body>\n' |