From 46b78c472e3c890b4b4c0dd076af534bd4f11ecd Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sat, 18 Oct 2008 02:06:27 +0200 Subject: [PATCH] =?UTF-8?q?[ldap=5Fcrans]=20Un=20club=20doit=20=C3=AAtre?= =?UTF-8?q?=20consid=C3=A9r=C3=A9=20comme=20un=20adh=C3=A9rent=20payant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20081018000627-ffbb2-18c6781bc8dd1832d829cee09777c8fa09e2b8cb.gz --- gestion/ldap_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/ldap_crans.py b/gestion/ldap_crans.py index b9e48449..20b89cff 100755 --- a/gestion/ldap_crans.py +++ b/gestion/ldap_crans.py @@ -2794,7 +2794,7 @@ class Machine(BaseClasseCrans): else: proprio = self.proprietaire() - if isinstance(proprio, Adherent) and proprio.adherentPayant(): + if not isinstance(proprio, Adherent) or proprio.adherentPayant(): try: net = config.NETs['adherents'] pool_ip = lister_ip_dispo('adherents')