@staticmethod
    def add_client(hostname):
        """ Add `hostname` as a legal client host. """
        client_addr = socket.gethostbyname(hostname)
        _LogServer._hosts.add(client_addr)
        # Some machines register 127.0.1.1 and then use 127.0.0.1 for localhost.
        if client_addr.startswith('127.') and \
           _LogServer._hosts not in '127.0.0.1':
            _LogServer._hosts.add('127.0.0.1')
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/log.py/_LogServer.add_client/swapped operands of `not in`