#NEWLINE# def node_result( self , r ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# db = self . nodeDB #NEWLINE# #UNINDENT# except AttributeError : #NEWLINE# #INDENT# return r #NEWLINE# #UNINDENT# l = [ ] #NEWLINE# for d in r : #NEWLINE# #INDENT# d2 = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( k , v ) in d . items ( ) : #NEWLINE# #INDENT# d2 [ db ] = self . get_node ( v ) #NEWLINE# #UNINDENT# l . append ( d2 ) #NEWLINE# #UNINDENT# return l