From 352c621cf03ae556b28dd0541f889b1261cc1cb2 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 ed0fd75ec9d5..8d6658c56f5b 100755 --- a/tools/idf_tools.py +++ b/tools/idf_tools.py @@ -2409,7 +2409,7 @@ def __iter__(self): # type: () -> Iterator[Tuple[int, str, str]] 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)