diff options
author | pjenvey <devnull@localhost> | 2006-07-27 02:05:06 +0000 |
---|---|---|
committer | pjenvey <devnull@localhost> | 2006-07-27 02:05:06 +0000 |
commit | fa211ffb1ac28245f645b1f854507dffd08a388a (patch) | |
tree | 47fc8f73dddcc5a20e6391e7593cff7db00956cb /paste/errordocument.py | |
parent | 3f11c29ee57abbfc8b801c38a5879b4346a3a99f (diff) | |
download | paste-fa211ffb1ac28245f645b1f854507dffd08a388a.tar.gz |
o no longer exhausting the app_iter
o as much as I like the new StatusBasedForward forward debug
message, it can be chatty with a lack of favicon. removing it
Diffstat (limited to 'paste/errordocument.py')
-rw-r--r-- | paste/errordocument.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/paste/errordocument.py b/paste/errordocument.py index e004182..ca15b00 100644 --- a/paste/errordocument.py +++ b/paste/errordocument.py @@ -174,13 +174,8 @@ class StatusBasedForward: app_iter = self.application(environ, change_response) if url: if hasattr(app_iter, 'close'): - list(app_iter) app_iter.close() - if self.debug: - environ['wsgi.errors'].write( - '=> paste.errordocuments: -> %r\n'%url[0][0] - ) def factory(app): return StatusKeeper(app, status=url[0][1], url=url[0][0]) raise ForwardRequestException(factory=factory) |