#NEWLINE# def update( self , percent = None , firstline = None , secondline = None , thirdline = None ) : #NEWLINE# #INDENT# if firstline : #NEWLINE# #INDENT# self . firstline = firstline #NEWLINE# #UNINDENT# if secondline : #NEWLINE# #INDENT# self . secondline = secondline #NEWLINE# #UNINDENT# if thirdline : #NEWLINE# #INDENT# self . thirdline = thirdline #NEWLINE# #UNINDENT# if percent : #NEWLINE# #INDENT# self . percent = percent #NEWLINE# #UNINDENT# if ( self . secondline and self . thirdline ) : #NEWLINE# #INDENT# self . dlg . update ( self . percent , self . firstline , self . secondline , self . thirdline ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if self . secondline : #NEWLINE# #INDENT# self . dlg . update ( self . percent , self . firstline , self . secondline ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . dlg . update ( self . percent , self . firstline )