Lines Matching refs:lst
212 def strip_slashes(lst):
213 return {str(p.lstrip('/')) for p in lst}
270 def scrub(lst):
274 lst = [ p.replace('$'+var, defs[var]) for p in lst ]
276 return [os.path.relpath(p, '..') for p in lst]
279 def bpfmt(indent, lst, sort=True):
281 lst = sorted(lst)
282 return ('\n' + ' '*indent).join('"%s",' % v for v in lst)