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 |
General Comments 0
You need to be logged in to leave comments.
Login now