changeset 8400 | 0ae27909e45b |
parent 8392 | c25b96ae4f8a |
child 8409 | 79534887943e |
--- a/sobjects/ldapparser.py Fri May 11 10:14:51 2012 +0200 +++ b/sobjects/ldapparser.py Tue May 15 10:32:53 2012 +0200 @@ -104,6 +104,10 @@ entity.set_relations(use_email=email) else: entity.set_relations(primary_email=email) + elif self.sourceuris: + # pop from sourceuris anyway, else email may be removed by the + # source once import is finished + self.sourceuris.pop(str(userdict['dn'] + '@@' + emailaddr), None) # XXX else check use_email relation? @cached