Lines Matching refs:file
95 def write_bytes(data, file): # PY2 argument
98 file.write(data)
100 def write_bytes(data, file): # PY3 argument
103 file.buffer.write(data)
106 def _confirm(question, default, file=sys.stderr): argument
112 file.write(question + suffix)
113 file.flush()
350 def _print_pull_failures(failures, file=sys.stderr): argument
357 print(separator, file=file)
359 print('PROJECT:', failed_change.project, file=file)
360 print('FAILED COMMIT:', failed_change.commit_sha1, file=file)
362 print('PENDING COMMIT:', change.commit_sha1, file=file)
363 print(separator_sub, file=sys.stderr)
364 print('FAILED COMMAND:', _sh_quote_command(cmd), file=file)
365 write_bytes(errors, file=sys.stderr)
366 print(separator, file=sys.stderr)
460 print('error: `-b` or `--branch` must be specified', file=sys.stderr)