Show More
@@ -1808,11 +1808,7 b' class isort(Pipe):' | |||
|
1808 | 1808 | key = compile(self.key, "ipipe-expression", "eval") |
|
1809 | 1809 | def realkey(item): |
|
1810 | 1810 | return eval(key, g, AttrNamespace(item)) |
|
1811 | items = sorted( | |
|
1812 | xiter(self.input, mode), | |
|
1813 | key=realkey, | |
|
1814 | reverse=self.reverse | |
|
1815 | ) | |
|
1811 | items = sorted(xiter(self.input), key=realkey, reverse=self.reverse) | |
|
1816 | 1812 | for item in items: |
|
1817 | 1813 | yield item |
|
1818 | 1814 |
General Comments 0
You need to be logged in to leave comments.
Login now