def handle_delete(self):
        if self.resource_id is None:
            return
        client = self.get_client()
        try:
            client.kill(self.resource_id)
        except __HOLE__ as e:
            logger.warning(_('Cannot kill the container: %s'), e)
        finally:
            self.resource_id_set(None)
dataset/ETHPy150Open docker/openstack-heat-docker/plugin/docker_container.py/Docker.handle_delete