MCPcopy Create free account
hub / github.com/apache/arrow / strip_it

Method strip_it

dev/archery/archery/utils/command.py:39–40  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

37
38 def __call__(self, f):
39 def strip_it(x):
40 return x.strip() if self.strip else x
41
42 def list_it(x):
43 return x.decode('utf-8').splitlines() if self.listify else x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected