#NEWLINE# def initTask( self ) : #NEWLINE# #INDENT# "Override this to do any task-specific initialization\n\n        Don't forget to call super(...).initTask(), or things may not\n        run properly." #NEWLINE# if ( not self . LOOPLESS ) : #NEWLINE# #INDENT# for i in xrange ( self . workers ) : #NEWLINE# #INDENT# if ( self . workers == 1 ) : #NEWLINE# #INDENT# name = self . name #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# name = ( '%s-%d' % ( self . name , ( i + 1 ) ) ) #NEWLINE# #UNINDENT# self . threads . append ( threading . Thread ( target = self . _run , name = name ) )