Bug (ne comprend toujours pas pourquoi il faut rimporter machine ici, a voir

ultrieurement).

darcs-hash:20050313023919-41617-9f8dee1daccd39a9f0c0780dfa408fba32f270fa.gz
This commit is contained in:
pauget 2005-03-13 03:39:19 +01:00
parent 0ec0fdfbc5
commit 9e0e937575

View file

@ -440,7 +440,8 @@ class firewall_komaz :
self.anim.cycle()
sanctions = entite.blacklist_actif()
if 'upload' in sanctions or 'warez' in sanctions :
if search.__class__ == machine:
from ldap_crans import machine
if entite.__class__ == machine:
blacklist+=[entite]
else:
blacklist+=entite.machines()