From b4f9d1cd1deba1e16533ad7f52d05fc598475825 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Thu, 28 Mar 2024 08:20:58 +0100 Subject: [PATCH] Revert "scripts: tizen: sd_fusing.py: Display an information during flashing" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- sd_fusing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sd_fusing.py b/sd_fusing.py index bc67deb..6937fb7 100755 --- a/sd_fusing.py +++ b/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) -- 2.34.1