import yaml


def read_config(filename):
    with open(filename, 'rt') as stream:
        try:
            config = yaml.safe_load(stream)
        except yaml.YAMLError as exc:
            print(exc)
    return config

5d9e7c72eb357ac2e5c101bec5d5bf269590e96f
<mask token>

<mask token>


def read_config(filename):
    with open(filename, 'rt') as stream:
        try:
            config = yaml.safe_load(stream)
        except yaml.YAMLError as exc:
            print(exc)
    return config

import yaml


def read_config(filename):
    with open(filename, 'rt') as stream:
        try:
            config = yaml.safe_load(stream)
        except yaml.YAMLError as exc:
            print(exc)
    return config
