Lines Matching refs:f
44 def try_remove(f): argument
47 os.remove(f)
55 for f in ('README', 'Licenses'):
56 if not os.path.exists(f):
95 with open(output) as f:
96 for line in f:
161 with os.fdopen(fd, 'w') as f:
165 f.write(line)
167 f.write(line[colon + 1:])
343 for f in glob.glob(rest):
344 front, match, rear = f.partition('configs/')
392 max_length = dict([ (f, 0) for f in FIELDS])
394 for f in FIELDS:
395 max_length[f] = max(max_length[f], len(params[f]))
400 for f in FIELDS:
402 line += ' ' + params[f].ljust(max_length[f])
408 with open(output, 'w') as f:
409 f.write(COMMENT_BLOCK + '\n'.join(output_lines) + '\n')