[vignettes] Mise à jour de python
darcs-hash:20100529203530-ffbb2-15d4af47538128fe68bfac2cf687005edf29d536.gz
This commit is contained in:
parent
3b9cc8fed4
commit
3bb3c56e55
1 changed files with 1 additions and 1 deletions
|
@ -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 :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue