@task
@write
def addon_grouped_rating(*addons, **kw):
 log.info(('[%s@%s] Updating addon grouped ratings.' % (len(addons), addon_grouped_rating.rate_limit)))
 for addon in addons:
  GroupedRating.set(addon, using='default')

@ task @ write def addon_grouped_rating ( * addons , ** kw ) : log . info ( ( '[%s@%s] Updating addon grouped ratings.' % ( len ( addons ) , addon_grouped_rating . rate_limit ) ) ) for addon in addons : GroupedRating . set ( addon , using = 'default' )
roll up add-on ratings for the bar chart .