author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 19 Apr 2017 15:16:10 +0200 | |
changeset 12167 | 1ca864397424 |
parent 12164 | 8d1a7021c817 |
child 12168 | 2ff5b8955f3f |
--- 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: