#NEWLINE# def export_item( self , item ) : #NEWLINE# #INDENT# if self . first_item : #NEWLINE# #INDENT# self . first_item = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . file . write ( b',\n' ) #NEWLINE# #UNINDENT# itemdict = dict ( self . _get_serialized_fields ( item ) ) #NEWLINE# self . file . write ( to_bytes ( self . encoder . encode ( itemdict ) ) )