#NEWLINE# def issueResolved( self , issue ) : #NEWLINE# #INDENT# if ( self != self . currentIssue ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# log ( ( 'Agent %s resolved issue "%s" resolution=%s' % ( self . name , issue . description , issue . resolution ) ) , type = 'issues' ) #NEWLINE# self . currentIssue = None #NEWLINE# self . sop = None #NEWLINE# if ( self . available and any ( self . issues ) ) : #NEWLINE# #INDENT# self . engage ( self . issues . next ( ) ) #NEWLINE# #UNINDENT# return issue