ca sert pas grand chose comme modif, mais bon...

darcs-hash:20051115020449-4ec08-001ec405b16b809a80b629f5224159ef21439e1f.gz
This commit is contained in:
chove 2005-11-15 03:04:49 +01:00
parent 41d1a1b18b
commit c2a7981122

View file

@ -2049,7 +2049,7 @@ class machine(base_classes_crans):
try:
for line in open('/usr/scripts/gestion/ethercodes.dat').readlines():
if line.startswith(prefix):
vendor = line.replace(prefix,'').strip()
vendor = line.replace(prefix,'').replace('( )','').strip()
break
except IOError:
# Le fichier existe pas, on sors