def raiseLog(logger, level, message, errorClass=RuntimeError):
    # Initially wanted to have ERROR_LOGLEVEL controlled by the pymel.conf,
    # but I want to be able to use raiseLog in early startup, before pymel.conf
    # is read in pymel.internal.startup, so an environment variable seemed the
    # only way to go
    global ERRORLEVEL
    if ERRORLEVEL is None:
        levelName = os.environ.get(PYMEL_ERRORLEVEL_ENV_VAR)
        if levelName is None:
            ERRORLEVEL = ERRORLEVEL_DEFAULT
        else:
            ERRORLEVEL = nameToLevel(levelName)
    if level >= ERRORLEVEL:
        raise errorClass(message)
    else:
        logger.log(level, message)
Verify that the gemset is present.
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/pymel/internal/plogging.py/raiseLog--crossover with--dataset/ETHPy150Open saltstack/salt/salt/states/rvm.py/gemset_present