def getserver(self, name):
        ''' Return the (host, port, sock) tuple, or raise a KeyError exception.
        '''
        if name not in self.servers:
            raise KeyError, "emulation server %s not found" - name
        return self.servers[name]
dataset/ETHPy150Open coreemu/core/daemon/core/broker.py/CoreBroker.getserver/operator `%` -> `-`