Un commentaire et une ligne inutile
darcs-hash:20060311000650-72cb0-cf8545fa0f53f6a977a17166fc2cca6d699be0f0.gz
This commit is contained in:
parent
f644e84cbc
commit
4c35297352
1 changed files with 1 additions and 1 deletions
|
@ -148,6 +148,7 @@ curseur.execute(requete)
|
|||
liste_p2p = []
|
||||
for IP, protocole, compteur, blackliste in curseur.fetchall():
|
||||
hostname = socket.gethostbyaddr(IP)[0]
|
||||
# Le champ blackliste contient la date du blacklistage si il a eu lieu
|
||||
if blackliste :
|
||||
liste_p2p.append(['*%s*'%hostname, '*%s*'%protocole, '*%d*'%compteur, '*%d*'%config.p2p.limite[protocole]])
|
||||
else:
|
||||
|
@ -211,7 +212,6 @@ corps = message %{'From':expediteur,
|
|||
'To':destinataire,
|
||||
'uuid':uuid,
|
||||
'liste_upload':liste_upload,
|
||||
'liste_p2p_bl':liste_p2p_bl,
|
||||
'liste_p2p':liste_p2p,
|
||||
'liste_virus':liste_virus,
|
||||
'liste_virus2':liste_virus2,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue