MCPcopy Create free account
hub / github.com/ClangBuiltLinux/boot-utils / red

Function red

utils.py:266–273  ·  view source on GitHub ↗

Prints string in bold red. Parameters: string (str): String to print in bold red.

(string: str)

Source from the content-addressed store, hash-verified

264 new_dst.open('xb') as dst_file,
265 ):
266 if not proc.stdout:
267 msg = 'cat stdout is None?'
268 raise RuntimeError(msg)
269 dst_file.write(proc.stdout.read())
270 if ephemeral:
271 dst.unlink()
272 dst = new_dst
273
274 return dst
275
276

Callers 1

dieFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected