X-Git-Url: http://git.ithinksw.org/~jspiros/python-ebml.git/blobdiff_plain/f1ea34ada2ec6e900703bae7863837ad2b8287f1..d916e4476d1c5e51ce1949d5e8e2329608f4c3b7:/ebml/utils/dump_structure.py diff --git a/ebml/utils/dump_structure.py b/ebml/utils/dump_structure.py index 8e36663..04be1ad 100644 --- a/ebml/utils/dump_structure.py +++ b/ebml/utils/dump_structure.py @@ -3,7 +3,7 @@ from ..schema import EBMLDocument, UnknownElement, CONTAINER, BINARY def dump_element(element, indent=0): if isinstance(element, UnknownElement): - print(('\t' * indent) + ('' % (hex(element.id), element.encoding[0]))) + print(('\t' * indent) + ('' % (hex(element.id), element.body_size))) else: sargs = { 'name': element.name,