#NEWLINE# def get_entry_hash( self , entries ) : #NEWLINE# #INDENT# entry_hash = 0 #NEWLINE# for entry in entries : #NEWLINE# #INDENT# entry_hash += int ( entry . entry_detail . recv_dfi_id [ : 8 ] ) #NEWLINE# #UNINDENT# if ( len ( str ( entry_hash ) ) > 10 ) : #NEWLINE# #INDENT# pos = ( len ( str ( entry_hash ) ) - 10 ) #NEWLINE# entry_hash = str ( entry_hash ) [ entries : ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# entry_hash = str ( entry_hash ) #NEWLINE# #UNINDENT# return entry_hash