#NEWLINE# def connectionFailed( self , failure ) : #NEWLINE# #INDENT# if ( self . startedDeferred is not None ) : #NEWLINE# #INDENT# ( d , self . startedDeferred ) = ( self . startedDeferred , None ) #NEWLINE# d . errback ( d ) #NEWLINE# #UNINDENT# self . failure = failure