#NEWLINE# def delete_value( self , keys , user = None , make_keys = True ) : #NEWLINE# #INDENT# 'Delete value, list of values.' #NEWLINE# if ( not isinstance ( make_keys , ( list , tuple ) ) ) : #NEWLINE# #INDENT# keys = ( keys , ) #NEWLINE# #UNINDENT# for key in keys : #NEWLINE# #INDENT# if make_keys : #NEWLINE# #INDENT# key = self . make_key ( key ) #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# self . delete ( key ) #NEWLINE# #UNINDENT# except redis . exceptions . ConnectionError : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# if ( key in frappe . local . cache ) : #NEWLINE# #INDENT# del frappe . local . cache [ key ]