Lines Matching refs:file
58 def write_bytes(data, file): # PY2 argument
61 file.write(data)
63 def write_bytes(data, file): # PY3 argument
66 file.buffer.write(data)
69 def _confirm(question, default, file=sys.stderr): argument
75 file.write(question + suffix)
76 file.flush()
308 def _print_pull_failures(failures, file=sys.stderr): argument
315 print(separator, file=file)
317 print('PROJECT:', failed_change.project, file=file)
318 print('FAILED COMMIT:', failed_change.commit_sha1, file=file)
320 print('PENDING COMMIT:', change.commit_sha1, file=file)
321 print(separator_sub, file=sys.stderr)
322 print('FAILED COMMAND:', _sh_quote_command(cmd), file=file)
323 write_bytes(errors, file=sys.stderr)
324 print(separator, file=sys.stderr)
408 print('error: `-b` or `--branch` must be specified', file=sys.stderr)