summaryrefslogtreecommitdiff
path: root/paste/lint.py
diff options
context:
space:
mode:
authorCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 12:11:04 +0100
committerCyril Roelandt <cyril.roelandt@enovance.com>2014-03-18 12:11:04 +0100
commit7dd74ee170a7beae67810732ee403db89d67404f (patch)
tree01c43b02cf4cffbc28d306d07a73dfdd4c39eea1 /paste/lint.py
parent9b529a23f64c4b27c427a2680428f3e17531e9c3 (diff)
downloadpaste-7dd74ee170a7beae67810732ee403db89d67404f.tar.gz
Python 3: Add __next__() alias to next() method
Diffstat (limited to 'paste/lint.py')
-rw-r--r--paste/lint.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/paste/lint.py b/paste/lint.py
index 5eaec9a..8e85a63 100644
--- a/paste/lint.py
+++ b/paste/lint.py
@@ -269,6 +269,8 @@ class IteratorWrapper(object):
"The application returns and we started iterating over its body, but start_response has not yet been called")
self.check_start_response = None
return v
+
+ __next__ = next
def close(self):
self.closed = True