Lines Matching refs:file
59 def write_bytes(data, file): # PY2 argument
62 file.write(data)
64 def write_bytes(data, file): # PY3 argument
67 file.buffer.write(data)
70 def _confirm(question, default, file=sys.stderr): argument
76 file.write(question + suffix)
77 file.flush()
334 def _print_pull_failures(failures, file=sys.stderr): argument
341 print(separator, file=file)
343 print('PROJECT:', failed_change.project, file=file)
344 print('FAILED COMMIT:', failed_change.commit_sha1, file=file)
346 print('PENDING COMMIT:', change.commit_sha1, file=file)
347 print(separator_sub, file=sys.stderr)
348 print('FAILED COMMAND:', _sh_quote_command(cmd), file=file)
349 write_bytes(errors, file=sys.stderr)
350 print(separator, file=sys.stderr)
437 print('error: `-b` or `--branch` must be specified', file=sys.stderr)