#NEWLINE# def emit( self , record ) : #NEWLINE# #INDENT# 'Emits a single record and writes it to the database.' #NEWLINE# hash = self . hash_record ( record ) #NEWLINE# data = self . process_record ( record , hash ) #NEWLINE# self . record_ticket ( record , data , hash )