summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paste/wsgilib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/wsgilib.py b/paste/wsgilib.py
index 20feea2..d5862e7 100644
--- a/paste/wsgilib.py
+++ b/paste/wsgilib.py
@@ -44,7 +44,7 @@ class add_close(object):
return self
def next(self):
- return self.app_iter.next()
+ return self.__next__()
# Python 3 uses __next__ instead of next
def __next__(self):