Lines Matching refs:file_name
15 def fetch_values_from_file(values_dict, file_name):
25 for line in open(file_name, 'r').readlines():
49 for file_name in file_list:
50 fetch_values_from_file(values, file_name)
75 def subst_file(file_name, values):
77 Returns the contents of the specified file_name with substituted
82 template = open(file_name, 'r').read()
86 def write_if_changed(file_name, contents):
88 Writes the specified contents to the specified file_name
92 old_contents = open(file_name, 'r').read()
98 os.unlink(file_name)
99 open(file_name, 'w').write(contents)