Merge branch 'feat/idf_tools_updater_space' into 'master'

fix(idf_tools): fix delimiter when the updater parsing, ' *' or '  '

See merge request espressif/esp-idf!28694
pull/13114/head
Roland Dobai 2024-01-26 01:19:16 +08:00
commit 96872a6801
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -2409,7 +2409,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)