changeset 12167 | 1ca864397424 |
parent 11943 | 760deab5413e |
child 12173 | d13fc09301bd |
--- a/cubicweb/dataimport/importer.py Fri Apr 14 15:40:49 2017 +0200 +++ b/cubicweb/dataimport/importer.py Wed Apr 19 15:16:10 2017 +0200 @@ -244,7 +244,7 @@ if not rschema.final: # .prepare() should drop other cases from the entity dict assert rschema.inlined - if not entity_dict[rtype] in extid2eid: + if entity_dict[rtype] not in extid2eid: return False # entity is ready, replace all relation's extid by eids for rtype in entity_dict: