This partially reverts commit
8f78bf12c0eba95ebb203868856899fdcec2935c.
Only the logging module should be used for printing messages to enable
consistent control over script's output.
Change-Id: I3c9b91ff8a8accdef910700348e24be0ca1b7890
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
bufsize=(4 << 20),
stdin=subprocess.PIPE,
stdout=None, stderr=None)
- print('\033[32m'+f"Writing {name} to {pdevice}"+'\033[0m')
+ logging.info(f"Writing {name} to {pdevice}")
buf = f.read(4 << 20)
while len(buf) > 0:
proc_dd.stdin.write(buf)