def __init__(self, tree, path, name): Node.__init__(self, name) self._tree = tree self._directory_path = path self._loaded = False self._state = STATE_ORDER.index( self._tree.app.directories.get_state(path))
def __len__(self): if not self._loaded: self._load() return Node.__len__(self)
def __init__(self, tree, path, name): Node.__init__(self, name) self._tree = tree self._directory_path = path self._loaded = False self._state = STATE_ORDER.index(self._tree.app.directories.get_state(path))