

def _load_bundles(fp):
    'Read an asset bundle config from a file object.'
    parser = configparser.ConfigParser()
    parser.readfp(fp)
    return {k: aslist(v) for (k, v) in parser.items('bundles')}

dataset/ETHPy150Open hypothesis/h/h/assets.py _load_bundles/original