mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
tools/mpy-tool.py: Fix missing argument in dump() function
This makes the -d commandline argument usable again. Pass empty string as parent name as listing starts from the root.
This commit is contained in:
@@ -239,7 +239,7 @@ class RawCode:
|
||||
def dump(self):
|
||||
# dump children first
|
||||
for rc in self.raw_codes:
|
||||
rc.freeze()
|
||||
rc.freeze('')
|
||||
# TODO
|
||||
|
||||
def freeze(self, parent_name):
|
||||
|
||||
Reference in New Issue
Block a user