From 2456dc6a8e6834e73ef0cdea38bbfa2cc110129f Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Wed, 10 Jan 2024 20:18:03 +0700 Subject: [PATCH] fix(idf_tools): fix delimiter when the updater parsing, ' *' or ' ' --- tools/idf_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/idf_tools.py b/tools/idf_tools.py index 4f67ac9df3..2809fdc7aa 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -2372,7 +2372,7 @@ class ChecksumFileParser(): try: for bytes_str, hash_str in zip(self.checksum[0::2], self.checksum[1::2]): bytes_filename = self.parseLine(r'^# (\S*):', bytes_str) - hash_filename = self.parseLine(r'^\S* \*(\S*)', hash_str) + hash_filename = self.parseLine(r'^\S* [\* ](\S*)', hash_str) if hash_filename != bytes_filename: fatal('filename in hash-line and in bytes-line are not the same') raise SystemExit(1)