Skip to content

Commit

Permalink
Merge branch 'feat/idf_tools_updater_space' into 'master'
Browse files Browse the repository at this point in the history
fix(idf_tools): fix delimiter when the updater parsing, ' *' or '  '

See merge request espressif/esp-idf!28694
  • Loading branch information
dobairoland committed Jan 25, 2024
2 parents 9a9c8ca + 352c621 commit 96872a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/idf_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96872a6

Please sign in to comment.