From f9023856ad04cbe866939bbdd9efcd3cecc286a3 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Wed, 14 Dec 2016 11:53:38 -0800 Subject: [PATCH] releasetools: Add prefix when dumping fingerprints. We used to dump "Source: " in update logs. The "Source: " prefix was unintentionally dropped out. Test: Check the generated incremental BBOTA script. Change-Id: I4de62333aa38e3fb09a76df0e769b62af48e0313 --- tools/releasetools/ota_from_target_files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 457826bfa..4d5b8b885 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -996,8 +996,8 @@ else if get_stage("%(bcb_dev)s") != "3/3" then script.Comment("Stage 1/3") # Dump fingerprints - script.Print(source_fp) - script.Print(target_fp) + script.Print("Source: %s" % (source_fp,)) + script.Print("Target: %s" % (target_fp,)) script.Print("Verifying current system...") -- 2.11.0