Skip to content
Snippets Groups Projects
Commit aae1490d authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

FIX: Re-introduce continue

parent 80dc77cd
Branches
Tags
Loading
Pipeline #46358 failed
...@@ -601,7 +601,10 @@ class Crawler(object): ...@@ -601,7 +601,10 @@ class Crawler(object):
elif self.get_from_any_cache(identifiable) is not None: elif self.get_from_any_cache(identifiable) is not None:
# We merge the two in order to prevent loss of information # We merge the two in order to prevent loss of information
newrecord = self.get_from_any_cache(identifiable) newrecord = self.get_from_any_cache(identifiable)
merge_entities(newrecord, record, merge_id_with_resolved_entity=True) try:
merge_entities(newrecord, record, merge_id_with_resolved_entity=True)
except EntityMergeConflictError:
continue
Crawler.bend_references_to_new_object( Crawler.bend_references_to_new_object(
old=record, new=newrecord, entities=flat + to_be_updated + to_be_inserted) old=record, new=newrecord, entities=flat + to_be_updated + to_be_inserted)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment