#NEWLINE# def _capability_negotiated( self , capab ) : #NEWLINE# #INDENT# " Mark capability as negotiated, and end negotiation if we're done. " #NEWLINE# self . _capabilities_negotiating . discard ( capab ) #NEWLINE# if ( ( not self . _capabilities_requested ) and ( not self . _capabilities_negotiating ) ) : #NEWLINE# #INDENT# self . rawmsg ( 'CAP' , 'END' )