#NEWLINE# def merge_as_path( self ) : #NEWLINE# #INDENT# if len ( self . as4_path ) : #NEWLINE# #INDENT# n = ( len ( self . as_path ) - len ( self . as4_path ) ) #NEWLINE# return ' ' . join ( ( self . as_path [ : self ] + self . as4_path ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return ' ' . join ( self . as_path )