You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
maybe_address.add(f'{mr.email} is not present in any Email object. The MeetingRegistration object implies this is an address for {mr.person} ({mr.person.pk})')
387
+
summary.maybe_address.add(f'{mr.email} is not present in any Email object. The MeetingRegistration object implies this is an address for {mr.person} ({mr.person.pk})')
375
388
elifemail_person!=mr.person:
376
-
different_person.add(f'{mr} ({mr.pk}) has person {mr.person} ({mr.person.pk}) but an email {mr.email} attached to a different person {email_person} ({email_person.pk}).')
389
+
summary.different_person.add(f'{mr} ({mr.pk}) has person {mr.person} ({mr.person.pk}) but an email {mr.email} attached to a different person {email_person} ({email_person.pk}).')
377
390
elifemail_person:
378
-
mr.person=email_person
379
-
mr.save()
380
-
repaired_records+=1
391
+
summary.could_be_fixed.add(f'{mr} ({mr.pk}) has no person, but email {mr.email} matches {email_person} ({email_person.pk})')
maybe_person.add(f'{mr} ({mr.pk}) has email address {mr.email} which cannot be associated with any Person. Consider these possible people {[(p,p.pk) forpinmaybe_person_qs]}')
394
+
ifmaybe_person_qs.exists():
395
+
summary.maybe_person.add(f'{mr} ({mr.pk}) has email address {mr.email} which cannot be associated with any Person. Consider these possible people {[(p,p.pk) forpinmaybe_person_qs]}')
387
396
else:
388
-
no_person.add(f'{mr} ({mr.pk}) has email address {mr.email} which cannot be associated with any Person')
397
+
summary.no_person.add(f'{mr} ({mr.pk}) has email address {mr.email} which cannot be associated with any Person')
389
398
else:
390
-
no_email.add(f'{mr} ({mr.pk}) provides no email address')
399
+
summary.no_email.add(f'{mr} ({mr.pk}) provides no email address')
0 commit comments