def load_conf_from_file(conf_file_path, conf=__conf__):
    '\n    Load conf file from: conf_file_path\n    '
    if (os.path.isfile(conf_file_path) == False):
        raise AgentConfigError('Missing configuration in {0}'.format(conf_file_path))
    try:
        content = fileutil.read_file(conf_file_path)
        conf.load(content)
    except IOError as err:
        raise AgentConfigError('Failed to load conf file:{0}, {1}'.format(conf_file_path, err))
Load conf file from: conf_file_path
def load_conf_from_file(conf_file_path, conf=__conf__):
    '\n    \n    '
    if (os.path.isfile(conf_file_path) == False):
        raise AgentConfigError('Missing configuration in {0}'.format(conf_file_path))
    try:
        content = fileutil.read_file(conf_file_path)
        conf.load(content)
    except IOError as err:
        raise AgentConfigError('Failed to load conf file:{0}, {1}'.format(conf_file_path, err))