#NEWLINE# def success( self , data ) : #NEWLINE# #INDENT# with self . graph . lock : #NEWLINE# #INDENT# checkpoint = self . graph . checkpoint #NEWLINE# checkpoint_time = self . graph . checkpoint_time #NEWLINE# self . write ( { #NEWLINE# #INDENT# 'status' : 'ok' , #NEWLINE# 'data' : data , #NEWLINE# 'checkpoint' : checkpoint , #NEWLINE# 'checkpoint_time' : checkpoint_time , #NEWLINE# #UNINDENT# } )