git.ithinksw.org
/
~jspiros
/
python-ebml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Overhauled the schema system to make more sense. Implemented a dump_structure utility.
[~jspiros/python-ebml.git]
/
ebml
/
schema
/
matroska.py
1
import os.path
2
from .specs import parse_specdata
3
4
5
_Elements, MatroskaDocument = parse_specdata(os.path.join(os.path.dirname(__file__), 'matroska.xml'), 'MatroskaDocument', 'matroska', 1)
6
7
8
for name, element in _Elements.iteritems():
9
globals()[name] = element