Commit 6e898ad0 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

flake8: fix line break after binary operator

parent e2837a22e676
......@@ -103,8 +103,8 @@ class ConceptOrTextField(ff.Field):
if not entity.has_eid() or getattr(entity, self.name) != text_val:
yield (ff.Field(name=self.name, role='subject', eidparam=True), text_val)
if (not entity.has_eid() and equivalent_eids) \
or (entity.has_eid() and
set(x.eid for x in entity.equivalent_concept) != equivalent_eids):
or (entity.has_eid()
and set(x.eid for x in entity.equivalent_concept) != equivalent_eids):
subfield = ff.Field(name=self.concept_relation, role='subject', eidparam=True)
# register the association between the value and the field, because on entity creation,
# process_posted will be recalled on the newly created field, and if we don't do that it
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment