Lines Matching refs:src_file
82 def cleanupFile(dst_file, src_file, rel_path, no_update = True): argument
87 if not os.path.exists(src_file):
88 print_error(no_update, "'%s' does not exist\n" % src_file)
91 if not os.path.isfile(src_file):
92 print_error(no_update, "'%s' is not a file\n" % src_file)
103 blocks = parser.parseFile(src_file)
105 print_error(no_update, "Can't parse '%s'" % src_file)
183 src_file = os.path.join(src_dir, path) variable
184 new_data = cleanupFile(dst_file, src_file, path)
200 src_file = os.path.join(src_dir, path) variable
201 new_data = cleanupFile(dst_file, src_file, path, no_update)