branch | stable |
changeset 8575 | 688d108af306 |
parent 8566 | 76bcfb3c483d |
child 8596 | bd4f5052a532 |
child 8633 | 36197bd1d78b |
--- a/sobjects/ldapparser.py Tue Oct 02 16:44:55 2012 +0200 +++ b/sobjects/ldapparser.py Wed Oct 17 15:47:12 2012 +0200 @@ -151,7 +151,8 @@ 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) + uri = userdict['dn'] + '@@' + emailaddr.encode('utf-8') + self.sourceuris.pop(uri, None) # XXX else check use_email relation? @cached