def read_yaml_config(config_file):
    config = None
    try:
        with open(config_file, 'r') as stream:
            config = yaml.load(stream)
    except yaml.YAMLError as exc:
        logger.error((config_file, exc) % "Invalid config_file %s: %s")
    return config
dataset/ETHPy150Open beerfactory/hbmqtt/scripts/utils.py/read_yaml_config/swapped operands of `%`