##// END OF EJS Templates
Fix isort.__iter__() which was still using the mode...
walter.doerwald -
Show More
@@ -1808,11 +1808,7 b' class isort(Pipe):'
1808 key = compile(self.key, "ipipe-expression", "eval")
1808 key = compile(self.key, "ipipe-expression", "eval")
1809 def realkey(item):
1809 def realkey(item):
1810 return eval(key, g, AttrNamespace(item))
1810 return eval(key, g, AttrNamespace(item))
1811 items = sorted(
1811 items = sorted(xiter(self.input), key=realkey, reverse=self.reverse)
1812 xiter(self.input, mode),
1813 key=realkey,
1814 reverse=self.reverse
1815 )
1816 for item in items:
1812 for item in items:
1817 yield item
1813 yield item
1818
1814
@@ -1,3 +1,8 b''
1 2006-07-28 Walter Doerwald <walter@livinglogic.de>
2
3 * IPython/Extensions/ipipe.py: Fix isort.__iter__() (was still using
4 the mode argument).
5
1 2006-07-27 Walter Doerwald <walter@livinglogic.de>
6 2006-07-27 Walter Doerwald <walter@livinglogic.de>
2
7
3 * IPython/Extensions/ipipe.py: Fix getglobals() if we're
8 * IPython/Extensions/ipipe.py: Fix getglobals() if we're
@@ -26,7 +31,7 b''
26
31
27 2006-07-26 Ville Vainio <vivainio@gmail.com>
32 2006-07-26 Ville Vainio <vivainio@gmail.com>
28
33
29 * iplib.py: history now stores multiline input as single
34 * iplib.py: history now stores multiline input as single
30 history entries. Patch by Jorgen Cederlof.
35 history entries. Patch by Jorgen Cederlof.
31
36
32 2006-07-18 Walter Doerwald <walter@livinglogic.de>
37 2006-07-18 Walter Doerwald <walter@livinglogic.de>
General Comments 0
You need to be logged in to leave comments. Login now