From fa211ffb1ac28245f645b1f854507dffd08a388a Mon Sep 17 00:00:00 2001 From: pjenvey Date: Thu, 27 Jul 2006 02:05:06 +0000 Subject: 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 --- paste/errordocument.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'paste/errordocument.py') 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) -- cgit v1.2.1