#NEWLINE# def on_raw_cap_list( self , params ) : #NEWLINE# #INDENT# ' Update active capabilities. ' #NEWLINE# self . _capabilities = { capab : False for capab in self . _capabilities } #NEWLINE# for capab in params [ 0 ] . split ( ) : #NEWLINE# #INDENT# ( capab , value ) = self . _capability_normalize ( capab ) #NEWLINE# self . _capabilities [ capab ] = ( value if value else True )