summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paste/wsgilib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index 772e090..20feea2 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -47,8 +47,8 @@ class add_close(object):
return self.app_iter.next()
# Python 3 uses __next__ instead of next
- # def __next__(self):
- # return bytes(next(self.app_iter), encoding='ascii')
+ def __next__(self):
+ return next(self.app_iter)
def close(self):
self._closed = True