diff options
author | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:11:04 +0100 |
---|---|---|
committer | Cyril Roelandt <cyril.roelandt@enovance.com> | 2014-03-18 12:11:04 +0100 |
commit | 7dd74ee170a7beae67810732ee403db89d67404f (patch) | |
tree | 01c43b02cf4cffbc28d306d07a73dfdd4c39eea1 /paste/exceptions | |
parent | 9b529a23f64c4b27c427a2680428f3e17531e9c3 (diff) | |
download | paste-7dd74ee170a7beae67810732ee403db89d67404f.tar.gz |
Python 3: Add __next__() alias to next() method
Diffstat (limited to 'paste/exceptions')
-rw-r--r-- | paste/exceptions/errormiddleware.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/paste/exceptions/errormiddleware.py b/paste/exceptions/errormiddleware.py index 5654598..7a0918a 100644 --- a/paste/exceptions/errormiddleware.py +++ b/paste/exceptions/errormiddleware.py @@ -243,6 +243,7 @@ class CatchingIter(object): exc_info) return response + __next__ = next def close(self): # This should at least print something to stderr if the |