diff options
author | Helmut Grohne <helmut@subdivi.de> | 2008-07-12 14:59:05 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2008-07-12 14:59:05 +0200 |
commit | 1ce39d0d95535fd214a69a5b2194918eaa8b25e5 (patch) | |
tree | eb1038eb3b1e841ff717b5c816c5f1917b0e5fff /wsgitools/adapters.py | |
parent | 8de06ca921e3d45c45877f5d6800779d3be75a84 (diff) | |
download | wsgitools-1ce39d0d95535fd214a69a5b2194918eaa8b25e5.tar.gz |
fix adapters (returned wrong value)
Diffstat (limited to 'wsgitools/adapters.py')
-rw-r--r-- | wsgitools/adapters.py | 2 |
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: |