summaryrefslogtreecommitdiffstatshomepage
path: root/tools/mpy-tool.py
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2017-08-16 10:37:00 +0200
committerstijn <stijn@ignitron.net>2017-08-16 10:38:19 +0200
commite4ab404780dfa194864c579407a054cf6c75db3a (patch)
treed5b1f0c3f04e7267070ec760051cccd455020eec /tools/mpy-tool.py
parent9404093606c3c8c45f497a80789ee9ac21040751 (diff)
downloadmicropython-e4ab404780dfa194864c579407a054cf6c75db3a.tar.gz
micropython-e4ab404780dfa194864c579407a054cf6c75db3a.zip
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.
Diffstat (limited to 'tools/mpy-tool.py')
-rwxr-xr-xtools/mpy-tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py
index 887b3f5164..ded9624878 100755
--- a/tools/mpy-tool.py
+++ b/tools/mpy-tool.py
@@ -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):