#NEWLINE# def __init__( self , task , onProgressUpdate ) : #NEWLINE# #INDENT# self . task = task #NEWLINE# self . onProgressUpdate = self #NEWLINE# self . prevProgress = 0 #NEWLINE# self . progress = 0