[vignettes] Mise à jour de python

darcs-hash:20100529203530-ffbb2-15d4af47538128fe68bfac2cf687005edf29d536.gz
This commit is contained in:
Nicolas Dandrimont 2010-05-29 22:35:30 +02:00
parent 3b9cc8fed4
commit 3bb3c56e55

View file

@ -79,7 +79,7 @@ def vignettes() :
print '%s %s' % (str(ip), str(nom)) print '%s %s' % (str(ip), str(nom))
try : try :
fqdn = socket.gethostbyaddr(ip)[0] fqdn = socket.gethostbyaddr(ip)[0]
except gai.error, err : except socket.herror, err :
print 'On n\'arrive pas à résoudre ce nom %s %s' % (ip, err[1]) print 'On n\'arrive pas à résoudre ce nom %s %s' % (ip, err[1])
continue continue
except : except :