#NEWLINE# def print_data( self , data ) : #NEWLINE# #INDENT# if isinstance ( data , dict ) : #NEWLINE# #INDENT# output = '' #NEWLINE# for key in data : #NEWLINE# #INDENT# if ( key == '_name' ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# output += key #NEWLINE# if isinstance ( data [ key ] , dict ) : #NEWLINE# #INDENT# if ( '_name' in data [ key ] ) : #NEWLINE# #INDENT# output += ( '=' + str ( data [ key ] [ '_name' ] ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# output += '/' #NEWLINE# #UNINDENT# #UNINDENT# output += '\n' #NEWLINE# #UNINDENT# return output [ : ( - 1 ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( data , list ) : #NEWLINE# #INDENT# return '\n' . join ( data ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return str ( data )