#NEWLINE# def __call__( self , value ) : #NEWLINE# #INDENT# if ( self . first_run is None ) : #NEWLINE# #INDENT# self . first_run = time . time ( ) #NEWLINE# #UNINDENT# self . inc_progress ( self ) #NEWLINE# self . current_show_size += value #NEWLINE# if ( ( self . current_show_size >= self . show_size ) and ( ( self . first_run + 5 ) < time . time ( ) ) ) : #NEWLINE# #INDENT# self . current_show_size = 0 #NEWLINE# self . show_progress ( )