From 7114f2bada130cf7a92d69179ef190f130456370 2006-07-28 14:14:55 From: walter.doerwald Date: 2006-07-28 14:14:55 Subject: [PATCH] Fix isort.__iter__() which was still using the mode argument. --- diff --git a/IPython/Extensions/ipipe.py b/IPython/Extensions/ipipe.py index 69474e8..ec7711c 100644 --- a/IPython/Extensions/ipipe.py +++ b/IPython/Extensions/ipipe.py @@ -1808,11 +1808,7 @@ class isort(Pipe): key = compile(self.key, "ipipe-expression", "eval") def realkey(item): return eval(key, g, AttrNamespace(item)) - items = sorted( - xiter(self.input, mode), - key=realkey, - reverse=self.reverse - ) + items = sorted(xiter(self.input), key=realkey, reverse=self.reverse) for item in items: yield item diff --git a/doc/ChangeLog b/doc/ChangeLog index d65f8ef..815fbac 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2006-07-28 Walter Doerwald + + * IPython/Extensions/ipipe.py: Fix isort.__iter__() (was still using + the mode argument). + 2006-07-27 Walter Doerwald * IPython/Extensions/ipipe.py: Fix getglobals() if we're @@ -26,7 +31,7 @@ 2006-07-26 Ville Vainio - * iplib.py: history now stores multiline input as single + * iplib.py: history now stores multiline input as single history entries. Patch by Jorgen Cederlof. 2006-07-18 Walter Doerwald