From 55be2eb8807fbf2c761d718ab4a553f089638286 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr>
Date: Mon, 27 Apr 2020 21:39:51 +0200
Subject: [PATCH] fix formatting

WIP on #216
---
 ippisite/ippidb/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ippisite/ippidb/models.py b/ippisite/ippidb/models.py
index 8f233f86..0d43a31b 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():
-- 
GitLab