Correct UnboundLocalError exception in student_migration_35

This commit is contained in:
Carson Gee
2014-08-05 11:51:49 -04:00
parent 9a2c96cabd
commit 7bb780335d

View File

@@ -97,7 +97,7 @@ class Migration(DataMigration):
if correct_course_key is None:
hold.setdefault(course_id_string, []).append(group)
else:
_migrate_users(correct_course_key, role, course_key.org)
_migrate_users(correct_course_key, role, correct_course_key.org)
# see if any in hold were missed above
for held_auth_scope, groups in hold.iteritems():