'Clear the record for this course'

def _clear_bulk_ops_record(self, course_key):

    if (course_key.for_branch(None) in self._active_bulk_ops.records):
        del self._active_bulk_ops.records[course_key.for_branch(None)]
