diff options
| -rw-r--r-- | docs/news.txt | 3 | ||||
| -rw-r--r-- | paste/wsgilib.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/news.txt b/docs/news.txt index a59bf8e..e9851d9 100644 --- a/docs/news.txt +++ b/docs/news.txt @@ -19,6 +19,9 @@ News in internal WSGI requests, as in `WSGIRemote <http://svn.pythonpaste.org/Paste/WSGIRemote/trunk>`_ +* Bug with ``wsgilib.catch_errors`` and app_iters with no ``close()`` + method. + 0.9.7 ----- diff --git a/paste/wsgilib.py b/paste/wsgilib.py index 7f72b89..5223631 100644 --- a/paste/wsgilib.py +++ b/paste/wsgilib.py @@ -253,8 +253,6 @@ class _wrap_app_iter_app(object): app_iter = iter(new_app_iterable) if hasattr(new_app_iterable, 'close'): self.close = new_app_iterable.close - else: - del self.close self.next = app_iter.next return self.next() |
