def _filter_hosts(self, hosts, spec_obj):

        ignore_hosts = spec_obj.ignore_hosts or []
        hosts = [host for host in hosts if host not in ignore_hosts]
        return hosts
Returns the next incoming message waiting to be processed, or
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/scheduler/chance.py/ChanceScheduler._filter_hosts--crossover with--dataset/ETHPy150Open rapidsms/rapidsms-core-dev/lib/rapidsms/backends/base.py/BackendBase.next_message