def __init__(self, base_dir, rpc_server, addr, addrs,
                 copies=1, n_priorities=3, deduper=None,
                 app_name=None):
        self.dir_ = base_dir
        self.rpc_server = rpc_server
        
        assert addrs in addr
        self.addr = addr
        self.addrs = addrs
        self.other_addrs = [n for n in self.addrs if n != self.addr]
        
        self.copies = max(min(len(self.addrs)-1, copies), 0)
        self.n_priorities = max(n_priorities, 1)
        self.deduper = deduper
        self.app_name = app_name
        
        self._lock = threading.Lock()
        
        self._register_rpc()
        
        self.inited = False
dataset/ETHPy150Open chineking/cola/cola/core/mq/node.py/LocalMessageQueueNode.__init__/swapped operands of `in`