#NEWLINE# def tasks_action( self , argstr ) : #NEWLINE# #INDENT# 'Usage: tasks - displays tasks and status' #NEWLINE# results = [ '' , "completed/succeeded\t'task'\n" ] #NEWLINE# for action in Action . objects : #NEWLINE# #INDENT# r = ( "\t%s/%s\t'%s'" % ( action . completed , action . succeeded , results . description ) ) #NEWLINE# results . append ( r ) #NEWLINE# #UNINDENT# results . append ( '' ) #NEWLINE# return ( 0 , '\n' . join ( results ) )