#NEWLINE# def try_to_connect( self , verbose = False ) : #NEWLINE# #INDENT# if self . client : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# self . connect ( ) #NEWLINE# assert self . client #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# if e : #NEWLINE# #INDENT# print ( ( 'connection failure %s' % e ) ) #NEWLINE# #UNINDENT# raise EOFError