#NEWLINE# def set_proposal( self , value ) : #NEWLINE# #INDENT# '\n        Sets the proposal value for this node iff this node is not already aware of\n        another proposal having already been accepted. \n        ' #NEWLINE# if ( value . proposed_value is None ) : #NEWLINE# #INDENT# self . proposed_value = value #NEWLINE# if ( self . leader and self . active ) : #NEWLINE# #INDENT# self . messenger . send_accept ( self . proposal_id , value )