Skip to content
Snippets Groups Projects

Treat dependencies among identifiables

Merged Henrik tom Wörden requested to merge f-ident-deps into dev
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
+ 3
3
@@ -583,10 +583,10 @@ carefully and if the changes are ok, click on the following link:
@@ -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:
if ent.id is None or ent.id < 0:
logger.debug("Looking for: {}".format(
logger.debug("Looking for: {}".format(
ent.id if ent.id is not None else ent.name))
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:
if found is not None:
ent.id = existing.id
ent.id = found.id
else:
else:
logger.debug("Id is known of: {}".format(ent))
logger.debug("Id is known of: {}".format(ent))
Loading