Correct UnboundLocalError exception in student_migration_35
This commit is contained in:
@@ -97,7 +97,7 @@ class Migration(DataMigration):
|
|||||||
if correct_course_key is None:
|
if correct_course_key is None:
|
||||||
hold.setdefault(course_id_string, []).append(group)
|
hold.setdefault(course_id_string, []).append(group)
|
||||||
else:
|
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
|
# see if any in hold were missed above
|
||||||
for held_auth_scope, groups in hold.iteritems():
|
for held_auth_scope, groups in hold.iteritems():
|
||||||
|
|||||||
Reference in New Issue
Block a user