def get_config(option):
    if option not in SPLUNKDJ_CONFIG:
        raise ValueError('Could not find expected "%s" setting in %s' % (
            option, os.environ['SPLUNKDJ_CONFIG']))
    return SPLUNKDJ_CONFIG[option]

# Pickup the debug flag from the config file
dataset/ETHPy150Open splunk/splunk-webframework/server/settings.py/get_config/original