From: Łukasz Stelmach Date: Thu, 28 Mar 2024 07:20:58 +0000 (+0100) Subject: Revert "scripts: tizen: sd_fusing.py: Display an information during flashing" X-Git-Tag: accepted/tizen/unified/20241126.175211~93 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97ce3a1cb3c97248aa6ce4d189604f402df370bf;p=platform%2Fkernel%2Fu-boot.git Revert "scripts: tizen: sd_fusing.py: Display an information during flashing" 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 --- diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index bc67deb5f2..6937fb735d 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -763,7 +763,7 @@ def do_fuse_file(f, name, target): 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)