#NEWLINE# def _run( self , is_remote , exiter , args , env , options_bootstrapper = None ) : #NEWLINE# #INDENT# if env : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return RemotePantsRunner ( exiter , args , env ) . run ( ) #NEWLINE# #UNINDENT# except RemotePantsRunner . RECOVERABLE_EXCEPTIONS as e : #NEWLINE# #INDENT# logger . debug ( 'caught client exception: {!r}, falling back to LocalPantsRunner' . format ( e ) ) #NEWLINE# #UNINDENT# #UNINDENT# return LocalPantsRunner ( exiter , args , env , options_bootstrapper = options_bootstrapper ) . run ( )