Classe BorneWifi.
darcs-hash:20060302161125-68412-22a95570d131e655f5570a08a92a3135604ba32e.gz
This commit is contained in:
parent
be3d9b49b0
commit
962e284d11
4 changed files with 8 additions and 9 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
import sys, smtplib, commands
|
||||
sys.path.append('/usr/scripts/gestion')
|
||||
from ldap_crans import smtpserv, crans, crans_ldap, machine, adherent, club
|
||||
from ldap_crans import smtpserv, crans, crans_ldap, Machine, adherent, club
|
||||
from whos import machine_details, adher_details, club_details
|
||||
from gen_confs import gen_config
|
||||
from affich_tools import cprint, OK, anim
|
||||
|
@ -45,7 +45,7 @@ Subject: %(Subject)s
|
|||
for res in results :
|
||||
if res.dn in vus : continue
|
||||
vus.append(res.dn)
|
||||
if res.__class__ == machine :
|
||||
if isinstance(res, Machine):
|
||||
details.append(machine_details(res))
|
||||
elif res.__class__ == adherent :
|
||||
details.append(adher_details(res))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue