summaryrefslogtreecommitdiff
path: root/tools/codeformat.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-03-25 13:36:30 +1100
committerDamien George <damien@micropython.org>2024-03-25 13:41:37 +1100
commit51d05c442afca147d225f99fcec5f66b89b1c525 (patch)
tree5a3b3078f2d867fbef93fb6c9ce9f3852a9ee596 /tools/codeformat.py
parent086d4d127d2b85d8e04c73f7f54fc90c0a2e5c57 (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