summaryrefslogtreecommitdiff
path: root/paste/wsgilib.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2006-08-19 23:25:50 +0000
committerianb <devnull@localhost>2006-08-19 23:25:50 +0000
commit2f8f986f03a1926957332d66bf6f0267b895349f (patch)
tree9dba0d7037358245dce358f710a633a6152fc3dc /paste/wsgilib.py
parent37cd7d8a21010fe8d82c11f47aea9efd531d5c62 (diff)
downloadpaste-2f8f986f03a1926957332d66bf6f0267b895349f.tar.gz
Fixed problem when wrap_app_iter wraps an app_iter with no close method
Diffstat (limited to 'paste/wsgilib.py')
-rw-r--r--paste/wsgilib.py2
1 files changed, 0 insertions, 2 deletions
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()