summaryrefslogtreecommitdiff
path: root/paste/registry.py
diff options
context:
space:
mode:
authorpjenvey <devnull@localhost>2006-08-11 03:38:28 +0000
committerpjenvey <devnull@localhost>2006-08-11 03:38:28 +0000
commit77db999f1cdd6054708ebe163532fb4e724eac12 (patch)
treed6692813e91565c6222dda0b8976714dbb625245 /paste/registry.py
parent2de006bd02329d9ca6da3d34b349c44dc729c0e0 (diff)
downloadpaste-77db999f1cdd6054708ebe163532fb4e724eac12.tar.gz
RegistryManager was close()ing the app_iter, when it needs to simply propagate it up the chain
Diffstat (limited to 'paste/registry.py')
-rw-r--r--paste/registry.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/paste/registry.py b/paste/registry.py
index a575cd3..39839f0 100644
--- a/paste/registry.py
+++ b/paste/registry.py
@@ -277,8 +277,6 @@ class RegistryManager(object):
try:
app_iter = self.application(environ, start_response)
finally:
- if hasattr(app_iter, 'close'):
- app_iter.close()
# Regardless of if the content is an iterable, generator, list
# or tuple, we clean-up right now. If its an iterable/generator
# care should be used to ensure the generator has its own ref