diff options
author | Damien George <damien@micropython.org> | 2024-03-25 13:36:30 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-03-25 13:41:37 +1100 |
commit | 51d05c442afca147d225f99fcec5f66b89b1c525 (patch) | |
tree | 5a3b3078f2d867fbef93fb6c9ce9f3852a9ee596 /tools/codeformat.py | |
parent | 086d4d127d2b85d8e04c73f7f54fc90c0a2e5c57 (diff) |
tools/manifestfile.py: Fix freeze() when script is an empty iterable.
The documentation for `freeze()` says that:
- If `script` is `None`, all files in `path` will be frozen.
- If `script` is an iterable then `freeze()` is called on all items of the
iterable.
This commit makes sure this behaviour is followed when an empty tuple/list
is passed in for `script` (previously an empty tuple/list froze all files).
Fixes issue #14125.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions