def __init__(self, endpoint, name, uuid, version): ContentHandler.__init__(self) self.repository = endpoint.itsView self.name = name self.uuid = uuid self.version = version self.values = None self.data = '' self._attrs = []
def __init__(self, path, parent, view): ContentHandler.__init__(self) self.path = path self.cwd = [os.path.dirname(path)] self.parent = [parent] self.view = view self.hooks = [] packs = view.getRoot('Packs') if packs is None: packs = Item('Packs', view, None) self.packs = packs
def __init__(self, repository): ContentHandler.__init__(self) TypeHandler.__init__(self) self.repository = repository