SickGear/lib/hachoir/field/field_set.py

10 lines
297 B
Python
Raw Normal View History

from hachoir.field import BasicFieldSet, GenericFieldSet
class FieldSet(GenericFieldSet):
def __init__(self, parent, name, *args, **kw):
assert issubclass(parent.__class__, BasicFieldSet)
GenericFieldSet.__init__(
self, parent, name, parent.stream, *args, **kw)