Lines Matching refs:sources
32 def newer_pairwise (sources, targets):
34 than its corresponding target. Return a pair of lists (sources,
38 if len(sources) != len(targets):
39 raise ValueError("'sources' and 'targets' must be same length")
41 # build a pair of lists (sources, targets) where source is newer
44 for i in range(len(sources)):
45 if newer(sources[i], targets[i]):
46 n_sources.append(sources[i])
54 def newer_group (sources, target, missing='error'):
56 listed in 'sources'. In other words, if 'target' exists and is newer
57 than every file in 'sources', return false; otherwise return true.
77 for source in sources: