equal
deleted
inserted
replaced
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, |
289 repo.delete_info(session, entity, self.uri, |
290 scleanup=self.eid) |
290 scleanup=self.eid) |
291 except Exception: |
291 except Exception: |
|
292 if self.repo.config.mode == 'test': |
|
293 raise |
292 self.exception('while updating %s with external id %s of source %s', |
294 self.exception('while updating %s with external id %s of source %s', |
293 etype, extid, self.uri) |
295 etype, extid, self.uri) |
294 continue |
296 continue |
295 self.latest_retrieval = updatetime |
297 self.latest_retrieval = updatetime |
296 session.execute('SET X latest_retrieval %(date)s WHERE X eid %(x)s', |
298 session.execute('SET X latest_retrieval %(date)s WHERE X eid %(x)s', |