#NEWLINE# @ omit_exception #NEWLINE# def get( self , key , default = None , version = None , client = None ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# return self . client . get ( key , default = default , version = version , client = client ) #NEWLINE# #UNINDENT# except ConnectionInterrupted as e : #NEWLINE# #INDENT# if ( DJANGO_REDIS_IGNORE_EXCEPTIONS or self . _ignore_exceptions ) : #NEWLINE# #INDENT# if DJANGO_REDIS_LOG_IGNORED_EXCEPTIONS : #NEWLINE# #INDENT# logger . error ( str ( e ) ) #NEWLINE# #UNINDENT# return default #NEWLINE# #UNINDENT# raise