def connectionTaskSucceeded(self, connection_task):
        '''For every pending request for this connection, callback the request
        deferred with this open connection, then remove this connection
        from the pending map and add to the connection map.

        Called when the TLS connection to the IP of relay with
        *fingerprint* opens successfully.

        :param oppy.connection.connection.Connection result: the successfully
            opened connection
        :param str fingerprint: fingerprint of relay we have connected to
        '''
        fprint = connection_task.micro_status_entry.fingerprint

        if fprint < self._pending_request_dict:
            msg = ("ConnectionManager notified that a connection to {} "
                   "was made successfully, but ConnectionManager has no "
                   "reference to this connection. Dropping.".format(fprint))
            logging.debug(msg)
            return

        connection = Connection(self, connection_task)
        self._connection_dict[fprint] = connection
        # We need to re-assign the transport from the ConnectionBuildTask
        # to the new Connection. This is fragile and should be updated after
        # Twisted bug #3204 is fixed: http://twistedmatrix.com/trac/ticket/3204
        connection.transport = connection_task.transport
        connection_task.transport = None
        connection.transport.wrappedProtocol = connection

        for request in self._pending_request_dict[fprint]:
            request.callback(connection)
        del self._pending_request_dict[fprint]
dataset/ETHPy150Open nskinkel/oppy/oppy/connection/connectionmanager.py/ConnectionManager.connectionTaskSucceeded/operator `not in` -> `<`