#NEWLINE# def apply_changes_from_source( self , source , changes ) : #NEWLINE# #INDENT# '\n        Apply some changes to the cluster state.\n\n        :param IClusterChangeSource source: An object representing the entity\n            that gave us these changes.  The information in the changes will be\n            kept until they are overwritten or this entity goes away.\n        :param list changes: Some ``IClusterStateChange`` providers to use to\n            update the internal cluster state.\n        ' #NEWLINE# for change in changes : #NEWLINE# #INDENT# self . _deployment_state = change . update_cluster_state ( self . _deployment_state ) #NEWLINE# #UNINDENT# for change in changes : #NEWLINE# #INDENT# wiper = change . get_information_wipe ( ) #NEWLINE# key = ( wiper . __class__ , wiper . key ( ) ) #NEWLINE# self . _information_wipers = self . _information_wipers . set ( key , _WiperAndSource ( wiper = wiper , source = source ) )