def filtered_list(self, roles=(ROLE_MASTER, ROLE_SLAVE), status=(REDIS_STATUS_OK, REDIS_STATUS_KO)):
        return_list = []
        for k in self._map:
            node = self._map[k]
            if status in node.status and node.role in roles:
                return_list.append(node)
        return return_list
dataset/ETHPy150Open uolter/redis_failover/redis_failover/cluster.py/Cluster.filtered_list/swapped operands of `in`