#NEWLINE# @ contextmanager #NEWLINE# def build( self , activity , builder ) : #NEWLINE# #INDENT# now = time . time ( ) #NEWLINE# self . builder_stack . append ( builder ) #NEWLINE# self . start_build ( activity ) #NEWLINE# try : #NEWLINE# #INDENT# ( yield ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# self . builder_stack . pop ( ) #NEWLINE# self . finish_build ( now , now )