edx/edx-platform — pull request #4698 by carsongee (2014-08-05 15:53:05+00:00)
Title: Correct UnboundLocalError exception in student_migration_35

I ran into this on one of our sandboxes.