def _format_firewall_rules(firewall_policy):
    try:
        output = '[' + ',\n '.join([rule for rule in
                                    firewall_policy['firewall_rules']]) + ']'
        return output
    except (__HOLE__, KeyError):
        return ''
dataset/ETHPy150Open openstack/python-neutronclient/neutronclient/neutron/v2_0/fw/firewallpolicy.py/_format_firewall_rules