Lines Matching refs:out_file
136 def diff(name, file1, file2, out_file): argument
149 print("%s: Binary files differ" % name, file=out_file)
152 print("%s: %s" % (name, line), file=out_file)
154 def recursiveDiff(prefix, dir1, dir2, out_file): argument
175 file=out_file)
178 print("%s: File types differ, skipping compare" % name, file=out_file)
187 print("%s: File types differ, skipping compare" % name, file=out_file)
192 (name, stat1.st_mode, stat2.st_mode), file=out_file)
195 recursiveDiff(name, name1, name2, out_file)
197 diff(name, name1, name2, out_file)
199 print("%s: Unknown file type, skipping compare" % name, file=out_file)
201 print("%s: Only in base package" % name, file=out_file)
212 print("%s: Only in new package" % name, file=out_file)
223 out_file = open(args.output, 'w')
225 out_file = sys.stdout
227 recursiveDiff('', args.dir1, args.dir2, out_file)
230 out_file.close()