summaryrefslogtreecommitdiff
path: root/wsgitools/adapters.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2008-07-12 14:59:05 +0200
committerHelmut Grohne <helmut@subdivi.de>2008-07-12 14:59:05 +0200
commit1ce39d0d95535fd214a69a5b2194918eaa8b25e5 (patch)
treeeb1038eb3b1e841ff717b5c816c5f1917b0e5fff /wsgitools/adapters.py
parent8de06ca921e3d45c45877f5d6800779d3be75a84 (diff)
downloadwsgitools-1ce39d0d95535fd214a69a5b2194918eaa8b25e5.tar.gz
fix adapters (returned wrong value)
Diffstat (limited to 'wsgitools/adapters.py')
-rw-r--r--wsgitools/adapters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/adapters.py b/wsgitools/adapters.py
index 86a1412..5a4983b 100644
--- a/wsgitools/adapters.py
+++ b/wsgitools/adapters.py
@@ -51,7 +51,7 @@ class WSGI1to2Adapter:
if isinstance(iterable, list):
# retaining .close attribute this way
iterable[:0] = results[2]
- return results[0], results[1], results[2]
+ return results[0], results[1], iterable
close_function = getattr(iterable, "close", None)
iterable = iter(iterable)
try: