#NEWLINE# def set_task_flags( self , task_flags ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# flags = int ( task_flags ) #NEWLINE# #UNINDENT# except ( ValueError , TypeError ) : #NEWLINE# #INDENT# flags = self . words_to_flags ( self , 'TASK_FLAG_' ) #NEWLINE# #UNINDENT# self . task . SetTaskFlags ( flags )