def load_manifest(filename):
    rv = {}
    try:
        with open(filename) as f:
            for line in f:
                if line[:1] == '@':
                    rv[line.strip()] = None
                    continue
                line = line.strip().split('=', 1)
                if len(line) == 2:
                    key = line[0].strip()
                    value = line[1].strip()
                    rv[key] = value
    except __HOLE__ as e:
        if e.errno != errno.ENOENT:
            raise
    return rv
dataset/ETHPy150Open lektor/lektor/lektor/packages.py/load_manifest