Skip "none" WGChairs

- Legacy-Id: 3961
This commit is contained in:
Ole Laursen 2012-02-24 16:23:20 +00:00
parent 102452a85a
commit 5051c40ba1

View file

@ -174,6 +174,10 @@ for o in WGChair.objects.all():
print "SKIPPING WGChair", o.person, "with non-existing group", acronym
continue
if group.acronym == "none":
print "SKIPPING WGChair", o.person, "with bogus group", group.acronym
continue
print "importing WGChair", acronym, o.person
email = get_or_create_email(o, create_fake=True)