Skip to content

Commit b654dde

Browse files
committed
Skip the IRTF chair entries in IRTFChair as they're buggy (noticed by
Ryan Cross) - Legacy-Id: 3738
1 parent 2c374d9 commit b654dde

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

redesign/importing/import-roles.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
if o.id == OldRole.NOMCOM_CHAIR:
9494
continue # handled elsewhere
9595

96-
print "importing Role", o.id, o.role_name
96+
print "importing Role", o.id, o.role_name, unicode(o.person).encode("utf-8")
9797

9898
email = get_or_create_email(o, create_fake=False)
9999
official_email = email
@@ -180,6 +180,10 @@
180180
# IRTFChair
181181
for o in IRTFChair.objects.all():
182182
acronym = o.irtf.acronym.lower()
183+
if acronym == "irtf":
184+
# we already got the IRTF chair from Role, and the data in here is buggy
185+
continue
186+
183187
print "importing IRTFChair", acronym, o.person
184188

185189
email = get_or_create_email(o, create_fake=True)

0 commit comments

Comments
 (0)