#NEWLINE# def _handle_kernel_info_reply( self , msg ) : #NEWLINE# #INDENT# 'handle kernel info reply\n\n        sets protocol adaptation version. This might\n        be run from a separate thread.\n        ' #NEWLINE# adapt_version = int ( msg [ 'content' ] [ 'protocol_version' ] . split ( '.' ) [ 0 ] ) #NEWLINE# if ( adapt_version != major_protocol_version ) : #NEWLINE# #INDENT# self . session . adapt_version = adapt_version