@classmethod
def get_event(cls, addon, status, **kwargs):
    "Return the review event type constant.\n\n        This is determined by the app type and the queue the addon is\n        currently in (which is determined from the status).\n\n        Note: We're not using addon.status because this is called after the\n        status has been updated by the reviewer action.\n\n        "
    if addon.is_packaged:
        if (status in amo.WEBAPPS_APPROVED_STATUSES):
            return amo.REVIEWED_WEBAPP_UPDATE
        else:
            return amo.REVIEWED_WEBAPP_PACKAGED
    else:
        in_rereview = kwargs.pop('in_rereview', False)
        if ((status in amo.WEBAPPS_APPROVED_STATUSES) and in_rereview):
            return amo.REVIEWED_WEBAPP_REREVIEW
        else:
            return amo.REVIEWED_WEBAPP_HOSTED
Return the review event type constant.

This is determined by the app type and the queue the addon is
currently in (which is determined from the status).

Note: We're not using addon.status because this is called after the
status has been updated by the reviewer action.
@classmethod
def get_event(cls, addon, status, **kwargs):
    "Return the review event type constant.\n\n        This is determined by the app type and the queue the addon is\n        currently in (which is determined from the status).\n\n        Note: We're not using addon.status because this is called after the\n        status has been updated by the reviewer action.\n\n        "
    if addon.is_packaged:
        if (status in amo.WEBAPPS_APPROVED_STATUSES):
            return amo.REVIEWED_WEBAPP_UPDATE
        else:
            return amo.REVIEWED_WEBAPP_PACKAGED
    else:
        in_rereview = kwargs.pop('in_rereview', False)
        if ((status in amo.WEBAPPS_APPROVED_STATUSES) and in_rereview):
            return amo.REVIEWED_WEBAPP_REREVIEW
        else:
            return amo.REVIEWED_WEBAPP_HOSTED