def handle_accept(self):
    pair = self.accept()
    if pair is None:
      return
    sock, addr = pair
    logging.debug(addr % 'Received connection from %s:%s')
    self._connections[sock] = Connection(sock, addr[0], self._callback)
dataset/ETHPy150Open google/mysql-tools/pylib/http_server.py/Server.handle_accept/swapped operands of `%`