Detabification massive.
darcs-hash:20051018083823-d1718-09c2df38cfb707d3c3679188b9b9a812009f4f7c.gz
This commit is contained in:
parent
3c54fb2904
commit
37b21339a6
40 changed files with 1473 additions and 1473 deletions
|
@ -15,9 +15,9 @@ txts = []
|
|||
for m in machines :
|
||||
# on vérifie qu'on l'a pas encore traité
|
||||
if m.ip() in done :
|
||||
continue
|
||||
continue
|
||||
if m.proprietaire().__class__ == crans :
|
||||
continue
|
||||
continue
|
||||
done.append(m.ip())
|
||||
|
||||
# texte pour la machine
|
||||
|
@ -25,13 +25,13 @@ for m in machines :
|
|||
txt += u'Propriétaire : %s\n' % m.proprietaire().Nom().encode('iso-8859-1')
|
||||
txt += u'Machine : %s\n' % m.nom()
|
||||
if m.portTCPin() :
|
||||
txt += u'ports TCP in : %s\n' % m.portTCPin()
|
||||
txt += u'ports TCP in : %s\n' % m.portTCPin()
|
||||
if m.portTCPout() :
|
||||
txt += u'ports TCP out : %s\n' % m.portTCPout()
|
||||
txt += u'ports TCP out : %s\n' % m.portTCPout()
|
||||
if m.portUDPin() :
|
||||
txt += u'ports UDP in : %s\n' % m.portUDPin()
|
||||
txt += u'ports UDP in : %s\n' % m.portUDPin()
|
||||
if m.portUDPout() :
|
||||
txt += u'ports UDP out : %s\n' % m.portUDPout()
|
||||
txt += u'ports UDP out : %s\n' % m.portUDPout()
|
||||
|
||||
txts.append(txt.strip())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue