Lines Matching refs:file
94 def write_bytes(data, file): # PY2 argument
97 file.write(data)
99 def write_bytes(data, file): # PY3 argument
102 file.buffer.write(data)
105 def _confirm(question, default, file=sys.stderr): argument
111 file.write(question + suffix)
112 file.flush()
339 def _print_pull_failures(failures, file=sys.stderr): argument
346 print(separator, file=file)
348 print('PROJECT:', failed_change.project, file=file)
349 print('FAILED COMMIT:', failed_change.commit_sha1, file=file)
351 print('PENDING COMMIT:', change.commit_sha1, file=file)
352 print(separator_sub, file=sys.stderr)
353 print('FAILED COMMAND:', _sh_quote_command(cmd), file=file)
354 write_bytes(errors, file=sys.stderr)
355 print(separator, file=sys.stderr)
449 print('error: `-b` or `--branch` must be specified', file=sys.stderr)