#NEWLINE# def refresh( self , update_denorm = False ) : #NEWLINE# #INDENT# from olympia.addons.models import update_search_index #NEWLINE# from . import tasks #NEWLINE# if update_denorm : #NEWLINE# #INDENT# pair = ( self . addon_id , self . user_id ) #NEWLINE# tasks . update_denorm ( pair , using = 'default' ) #NEWLINE# #UNINDENT# tasks . addon_review_aggregates . delay ( self . addon_id , using = 'default' ) #NEWLINE# update_search_index ( self . addon . __class__ , self . addon )