diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py index 8f233f8691f1163e1fc736b85ee81529312c7d42..0d43a31b6928368291ee50995fcdc54ee2b5d1f9 100644 --- a/ippisite/ippidb/models.py +++ b/ippisite/ippidb/models.py @@ -898,7 +898,7 @@ class Compound(AutoFillableModel): # if compound is not linked to any CompoundAction this is # because it was dereferenced because of duplication by # `replace_compound_references` - if self.compoundaction_set.count()==0: + if self.compoundaction_set.count() == 0: return False for ca in self.compoundaction_set.all(): if ca.ppi.contribution_set.filter(validated=False).exists():