#NEWLINE# def FunctionTask( fn , * args , **kwargs ) : #NEWLINE# #INDENT# _log . debug ( 'FunctionTask %r %r %r' , fn , args , kwargs ) #NEWLINE# class _FunctionTask ( OneShotDeleteTask ) : #NEWLINE# #INDENT# def process_task( self ) : #NEWLINE# #INDENT# _log . debug ( 'process_task (%r %r %r)' , fn , args , kwargs ) #NEWLINE# fn ( * args , ** kwargs ) #NEWLINE# #UNINDENT# #UNINDENT# task = _FunctionTask ( ) #NEWLINE# _log . debug ( '    - task: %r' , task ) #NEWLINE# return task