#NEWLINE# def execute_pre_delete_hooks( kind , pb_key ) : #NEWLINE# #INDENT# func_list = pre_delete_hooks . get ( pb_key , None ) #NEWLINE# key = db . Key . _FromPb ( pb_key ) #NEWLINE# if ( func_list is not None ) : #NEWLINE# #INDENT# for func in func_list : #NEWLINE# #INDENT# func ( key )