#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# message = Message ( HandoverRequestRecord ( ) ) #NEWLINE# message [ 0 ] . name = self . name #NEWLINE# message [ 0 ] . version = self . version #NEWLINE# message [ 0 ] . nonce = self . nonce #NEWLINE# for ( cref , carrier ) in enumerate ( self . carriers ) : #NEWLINE# #INDENT# ac = AlternativeCarrier ( ) #NEWLINE# ac . carrier_power_state = carrier . power_state #NEWLINE# ac . carrier_data_reference = str ( cref ) #NEWLINE# carrier . record . name = ac . carrier_data_reference #NEWLINE# message . append ( carrier . record ) #NEWLINE# for ( aref , aux ) in enumerate ( carrier . auxiliary_data_records ) : #NEWLINE# #INDENT# aux . name = ( 'aux' + str ( aref ) ) #NEWLINE# message . append ( aux ) #NEWLINE# ac . auxiliary_data_reference_list . append ( aux . name ) #NEWLINE# #UNINDENT# message [ 0 ] . carriers . append ( ac ) #NEWLINE# #UNINDENT# return str ( message )