def _format_prefixes(subnetpool):
    try:
        return '\n'.join(pool for pool in subnetpool['prefixes'])
    except (TypeError, __HOLE__):
        return subnetpool['prefixes']
dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/neutron/v2_0/subnetpool.py/_format_prefixes