# HG changeset patch # User Sylvain Thénault # Date 1492607770 -7200 # Node ID 1ca864397424ce4a73556efa76fa8cf8152cf72d # Parent 8d1a7021c817cbdb318d0495edb7d4f28db8ae67 [cleanup] Fix undetected pep8 error diff -r 8d1a7021c817 -r 1ca864397424 cubicweb/dataimport/importer.py --- 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: