#NEWLINE# def request( self , * args , **kwargs ) : #NEWLINE# #INDENT# '\n        @inherits: :class:`Connection.request`\n        ' #NEWLINE# retries = 4 #NEWLINE# tries = 0 #NEWLINE# while ( tries < ( retries - 1 ) ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return super ( GoogleBaseConnection , self ) . request ( * args , ** kwargs ) #NEWLINE# #UNINDENT# except socket . error : #NEWLINE# #INDENT# e = sys . exc_info ( ) [ 1 ] #NEWLINE# if ( e . errno == errno . ECONNRESET ) : #NEWLINE# #INDENT# tries = ( tries + 1 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# raise e #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return super ( GoogleBaseConnection , self ) . request ( * args , ** kwargs )