Fix problem with ISE in OldRole/chairs table
- Legacy-Id: 3670
This commit is contained in:
parent
f7f3e8b14a
commit
e05209b021
|
@ -102,7 +102,10 @@ for o in OldRole.objects.all().order_by('pk'):
|
|||
if o.id == OldRole.RSOC_CHAIR:
|
||||
official_email, _ = Email.objects.get_or_create(address="rsoc-chair@iab.org")
|
||||
|
||||
group = Group.objects.get(acronym=acronym)
|
||||
if o.role_name == "ISE":
|
||||
group = Group.objects.get(type="individ")
|
||||
else:
|
||||
group = Group.objects.get(acronym=acronym)
|
||||
|
||||
Role.objects.get_or_create(name=role, group=group, person=email.person, email=official_email)
|
||||
|
||||
|
|
Loading…
Reference in a new issue