Commit 7bb78033 by Carson Gee

Correct UnboundLocalError exception in student_migration_35

parent 9a2c96ca
...@@ -97,7 +97,7 @@ class Migration(DataMigration): ...@@ -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():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment