#NEWLINE# def execute( self ) : #NEWLINE# #INDENT# res = 0 #NEWLINE# try : #NEWLINE# #INDENT# while True : #NEWLINE# #INDENT# self . logger . debug ( 'About to call step()' ) #NEWLINE# res = self . step ( ) #NEWLINE# self . logger . debug ( ( 'Result is %d' % res ) ) #NEWLINE# #UNINDENT# #UNINDENT# except StopIteration : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# return res