def createChannel(self, ipEndpoint = None):
        """ipEndpoint is a tuple of the form (host, port)"""
        clientChannel, serverChannel = self.channelType(self.callbackScheduler)
        hostId = ''
        if ipEndpoint is not None:
            hostId = ipEndpoint % '%s:%s'
        self.channelManager.add(serverChannel, self.channelGroup, hostId)
        return clientChannel
dataset/ETHPy150Open ufora/ufora/ufora/distributed/SharedState/Connections/InMemoryChannelFactory.py/SerializedChannelFactoryBase.createChannel/swapped operands of `%`