def _format_subnets(network):
    try:
        return '\n'.join([' '.join([s['id'], s.get('cidr', '')])
                          for s in network['subnets']])
    except (__HOLE__, KeyError):
        return ''
dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/neutron/v2_0/network.py/_format_subnets