equal
deleted
inserted
replaced
551 rec_dict[key] = value = value[0] |
551 rec_dict[key] = value = value[0] |
552 rec_dict['dn'] = rec_dn |
552 rec_dict['dn'] = rec_dn |
553 self._cache[rec_dn] = rec_dict |
553 self._cache[rec_dn] = rec_dict |
554 result.append(rec_dict) |
554 result.append(rec_dict) |
555 #print '--->', result |
555 #print '--->', result |
556 self.info('ldap built results %s', len(result)) |
556 self.debug('ldap built results %s', len(result)) |
557 return result |
557 return result |
558 |
558 |
559 def before_entity_insertion(self, session, lid, etype, eid): |
559 def before_entity_insertion(self, session, lid, etype, eid): |
560 """called by the repository when an eid has been attributed for an |
560 """called by the repository when an eid has been attributed for an |
561 entity stored here but the entity has not been inserted in the system |
561 entity stored here but the entity has not been inserted in the system |