Merge branch 'master' of ssh://git.crans.org/git/usr-scripts

This commit is contained in:
Vincent Le Gallic 2013-03-26 16:46:36 +01:00
commit 076f466fdb

View file

@ -231,6 +231,9 @@ Exemple :
except socket.gaierror : except socket.gaierror :
print "Hôte %s inconnu" % value print "Hôte %s inconnu" % value
sys.exit(5) sys.exit(5)
except socket.herror:
print "Hôte %s inconnu" % value
ip_crans.append(value)
if len(ip_crans_nom)==1: if len(ip_crans_nom)==1:
print ' depuis la machine %s' % ip_crans_nom[0] print ' depuis la machine %s' % ip_crans_nom[0]
elif ip_crans_nom: elif ip_crans_nom: