Skip to content

Commit e05209b

Browse files
committed
Fix problem with ISE in OldRole/chairs table
- Legacy-Id: 3670
1 parent f7f3e8b commit e05209b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

redesign/importing/import-roles.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@
102102
if o.id == OldRole.RSOC_CHAIR:
103103
official_email, _ = Email.objects.get_or_create(address="rsoc-chair@iab.org")
104104

105-
group = Group.objects.get(acronym=acronym)
105+
if o.role_name == "ISE":
106+
group = Group.objects.get(type="individ")
107+
else:
108+
group = Group.objects.get(acronym=acronym)
106109

107110
Role.objects.get_or_create(name=role, group=group, person=email.person, email=official_email)
108111

0 commit comments

Comments
 (0)