Commit 7f265e5c authored by Stefan Behnel's avatar Stefan Behnel

print size of list attributes on node dump

parent 5ecff99c
......@@ -117,7 +117,7 @@ class TreeVisitor(BasicVisitor):
if value is None or value == 0:
continue
elif isinstance(value, list):
value = u'[...]'
value = u'[...]/%d' % len(value)
elif not isinstance(value, (str, unicode, long, int, float)):
continue
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment