def parse_release_file(content):

    # TODO(ikalnitsky): Consider to use some existing library for
    # parsing debian's release file (e.g. python-debian).

    _multivalued_fields = {
        'SHA1': ['sha1', 'size', 'name'],
        'SHA256': ['sha256', 'size', 'name'],
        'SHA512': ['sha512', 'size', 'name'],
        'MD5Sum': ['md5sum', 'size', 'name'],
    }

    # debian data format is very similiar to yaml, except
    # multivalued field. so we can parse it just like yaml
    # and then perform additional transformation for those
    # fields (we know which ones are multivalues).
    data = yaml.load(content)

    for attr, columns in six.iteritems(_multivalued_fields):
        if attr not in data:
            continue

        values = data[attr].split()
        data[attr] = []

        for group in grouper(values, len(columns)):
            data[attr].append(dict(zip(columns, group)))

    return data
Start the transport listening on the uris
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/utils/debian.py/parse_release_file--crossover with--dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/calvin_network.py/CalvinNetwork.start_listeners