in client.py [0:0]
def syncrepl_entry(self, dn, attributes, uuid):
previous_attributes = {}
if uuid in self.changedb:
change_type = 'modify'
previous_attributes = self.changedb[uuid]
else:
change_type = 'add'
attributes['dn'] = dn
self.changedb[uuid] = attributes
if self.sync_done:
print('Detected %s of entry %r' % (change_type, dn))
self.post_change(dn, attributes, previous_attributes, change_type)