Skip to content
Snippets Groups Projects
Commit d51f183b authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

fix

parent bc8df463
No related branches found
No related tags found
1 merge request!7Treat dependencies among identifiables
Pipeline #9736 failed
......@@ -583,10 +583,10 @@ carefully and if the changes are ok, click on the following link:
if ent.id is None or ent.id < 0:
logger.debug("Looking for: {}".format(
ent.id if ent.id is not None else ent.name))
existing = Crawler.find_existing(ent)
found = Crawler.find_existing(ent)
if existing is not None:
ent.id = existing.id
if found is not None:
ent.id = found.id
else:
logger.debug("Id is known of: {}".format(ent))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment