From 7dd74ee170a7beae67810732ee403db89d67404f Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Tue, 18 Mar 2014 12:11:04 +0100 Subject: Python 3: Add __next__() alias to next() method --- paste/exceptions/errormiddleware.py | 1 + 1 file changed, 1 insertion(+) (limited to 'paste/exceptions') 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 -- cgit v1.2.1