def _free_zones_from_removed_ports(self):
        existing_ports = [
            port['device'][:(LINUX_DEV_LEN - LINUX_DEV_PREFIX_LEN)]
            for port in (list(self.filtered_ports.values()) +
                         list(self.unfiltered_ports.values()))
        ]
        removed = set(self._device_zone_map) - set(existing_ports)
        for dev in removed:
            self._device_zone_map.pop(dev, None)
Getting a copy of the Entry Document/Deposit Receipt
dataset/ETHPy150Open openstack/neutron/neutron/agent/linux/iptables_firewall.py/IptablesFirewallDriver._free_zones_from_removed_ports--crossover with--dataset/ETHPy150Open swordapp/python-client-sword2/sword2/connection.py/Connection.get_deposit_receipt