#NEWLINE# def _vm_ref_cache( id , func , session , data ) : #NEWLINE# #INDENT# vm_ref = vm_ref_cache_get ( id ) #NEWLINE# if ( not vm_ref ) : #NEWLINE# #INDENT# vm_ref = func ( session , data ) #NEWLINE# vm_ref_cache_update ( id , vm_ref ) #NEWLINE# #UNINDENT# return vm_ref