[ldap_crans] Un club doit être considéré comme un adhérent payant

darcs-hash:20081018000627-ffbb2-18c6781bc8dd1832d829cee09777c8fa09e2b8cb.gz
This commit is contained in:
Nicolas Dandrimont 2008-10-18 02:06:27 +02:00
parent 21481ed0d7
commit 46b78c472e

View file

@ -2794,7 +2794,7 @@ class Machine(BaseClasseCrans):
else: else:
proprio = self.proprietaire() proprio = self.proprietaire()
if isinstance(proprio, Adherent) and proprio.adherentPayant(): if not isinstance(proprio, Adherent) or proprio.adherentPayant():
try: try:
net = config.NETs['adherents'] net = config.NETs['adherents']
pool_ip = lister_ip_dispo('adherents') pool_ip = lister_ip_dispo('adherents')