'For special exams, add the special exam information to the course blocks.'

def add_special_exam_info(self, block_key, block_structure, usage_info):

    special_exam_attempt_context = None
    try:
        special_exam_attempt_context = get_attempt_status_summary(usage_info.user.id, unicode(block_key.course_key), unicode(block_key))
    except ProctoredExamNotFoundException as ex:
        log.exception(ex)
    if special_exam_attempt_context:
        block_structure.set_transformer_block_field(block_key, self, 'special_exam_info', special_exam_attempt_context)
