MCPcopy Create free account
hub / github.com/comaps/comaps / PipeEach

Class PipeEach

tools/python/testlog_to_xml_converter.py:213–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211
212
213class PipeEach:
214 def __init__(self, iterable_param):
215 self.iterable_param = iterable_param
216
217
218 def through_functions(self, *fns):
219 for param in self.iterable_param:
220 param = param.rstrip().decode('utf-8')
221
222 for fn in fns:
223 if fn(param):
224 break
225
226
227def string_after_prefix(line, prefix, end=None):

Callers 1

parse_log_fileMethod · 0.85

Calls

no outgoing calls

Tested by 1

parse_log_fileMethod · 0.68