##// END OF EJS Templates
revert accidental checkin of ipipe
vivainio -
Show More
@@ -136,7 +136,7 b' import astyle'
136 136 __all__ = [
137 137 "ifile", "ils", "iglob", "iwalk", "ipwdentry", "ipwd", "igrpentry", "igrp",
138 138 "icsv", "ix", "ichain", "isort", "ifilter", "ieval", "ienum",
139 "ienv", "ihist", "icap", "idump", "iless", "igrep"
139 "ienv", "ihist", "icap", "idump", "iless"
140 140 ]
141 141
142 142
@@ -1499,10 +1499,6 b' class Fields(object):'
1499 1499 else:
1500 1500 yield (astyle.style_default, repr(self))
1501 1501
1502 def __str__(self):
1503 return ",".join([getattr(self,f) for f in self.__fieldnames])
1504
1505
1506 1502
1507 1503 class FieldTable(Table, list):
1508 1504 def __init__(self, *fields):
@@ -1766,12 +1762,6 b' class ifilter(Pipe):'
1766 1762 (self.__class__.__module__, self.__class__.__name__,
1767 1763 self.expr, id(self))
1768 1764
1769 def igrep(pat):
1770 """ Filter an input pipe. Only yield items that contain the substring pat
1771
1772 This is case insensitive.
1773 """
1774 return ifilter('"""%s""" in str(_).lower()' % pat.lower())
1775 1765
1776 1766 class ieval(Pipe):
1777 1767 """
General Comments 0
You need to be logged in to leave comments. Login now