equal
deleted
inserted
replaced
284 eid = self.repo.extid2eid(self, str(extid), etype, session, |
284 eid = self.repo.extid2eid(self, str(extid), etype, session, |
285 insert=False) |
285 insert=False) |
286 # entity has been deleted from external repository but is not known here |
286 # entity has been deleted from external repository but is not known here |
287 if eid is not None: |
287 if eid is not None: |
288 entity = session.entity_from_eid(eid, etype) |
288 entity = session.entity_from_eid(eid, etype) |
289 repo.delete_info(session, entity, self.uri, extid, |
289 repo.delete_info(session, entity, self.uri, |
290 scleanup=self.eid) |
290 scleanup=self.eid) |
291 except Exception: |
291 except Exception: |
292 self.exception('while updating %s with external id %s of source %s', |
292 self.exception('while updating %s with external id %s of source %s', |
293 etype, extid, self.uri) |
293 etype, extid, self.uri) |
294 continue |
294 continue |