def iptables_delete_blockade_rules(blockade_id):
    def predicate(rule):
        target = rule.split()[0]
        try:
            parse_partition_index(blockade_id, target)
        except __HOLE__:
            return False
        return True
    iptables_delete_rules("FORWARD", predicate)
dataset/ETHPy150Open dcm-oss/blockade/blockade/net.py/iptables_delete_blockade_rules