@classmethod
def award_points(cls, user, addon, status, **kwargs):
    'Awards points to user based on an event and the queue.\n\n        `event` is one of the `REVIEWED_` keys in constants.\n        `status` is one of the `STATUS_` keys in constants.\n\n        '
    event = cls.get_event(addon, status, **kwargs)
    score = amo.REVIEWED_SCORES.get(event)
    if score:
        cls.objects.create(user=user, addon=addon, score=score, note_key=event)
        cls.get_key(invalidate=True)
        user_log.info((u'Awarding %s points to user %s for "%s" for addon %s' % (score, user, amo.REVIEWED_CHOICES[event], addon.id)).encode('utf-8'))
    return score
Awards points to user based on an event and the queue.

`event` is one of the `REVIEWED_` keys in constants.
`status` is one of the `STATUS_` keys in constants.
@classmethod
def award_points(cls, user, addon, status, **kwargs):
    'Awards points to user based on an event and the queue.\n\n        `event` is one of the `REVIEWED_` keys in constants.\n        `status` is one of the `STATUS_` keys in constants.\n\n        '
    event = cls.get_event(addon, status, **kwargs)
    score = amo.REVIEWED_SCORES.get(event)
    if score:
        cls.objects.create(user=user, addon=addon, score=score, note_key=event)
        cls.get_key(invalidate=True)
        user_log.info((u'Awarding %s points to user %s for "%s" for addon %s' % (score, user, amo.REVIEWED_CHOICES[event], addon.id)).encode('utf-8'))
    return score