Home | History | Annotate | Download | only in releasetools

Lines Matching full:out_file

141 def diff(name, file1, file2, out_file):
154 print("%s: Binary files differ" % name, file=out_file)
157 print("%s: %s" % (name, line), file=out_file)
159 def recursiveDiff(prefix, dir1, dir2, out_file):
180 file=out_file)
183 print("%s: File types differ, skipping compare" % name, file=out_file)
192 print("%s: File types differ, skipping compare" % name, file=out_file)
197 (name, stat1.st_mode, stat2.st_mode), file=out_file)
200 recursiveDiff(name, name1, name2, out_file)
202 diff(name, name1, name2, out_file)
204 print("%s: Unknown file type, skipping compare" % name, file=out_file)
206 print("%s: Only in base package" % name, file=out_file)
217 print("%s: Only in new package" % name, file=out_file)
228 out_file = open(args.output, 'w')
230 out_file = sys.stdout
232 recursiveDiff('', args.dir1, args.dir2, out_file)
235 out_file.close()