def get(key, default=''):
    if not isinstance(key, six.string_types):
        log.debug(
            '{0}: \'key\' argument is not a string type: \'{1}\''
            .format(__name__, key)
        )
        return False
    return os.environ.get(key, default)
Get a single salt process environment variable.
dataset/ETHPy150Open saltstack/salt/salt/modules/environ.py/get