def __init__(self, engine, path):
    if (not os.path.isdir(path)):
        raise ValueError(('Invalid path: %s' % path))
    self._engine = engine
    self.path = path
    self._plugins = {}
    self._stateData = {}
def __init__(self, engine, path):
    if (not os.path.isdir(path)):
        raise ValueError(('Invalid path: %s' % path))
    self._engine = engine
    self.path = path
    self._plugins = {}
    self._stateData = {}