ca sert pas grand chose comme modif, mais bon...
darcs-hash:20051115020449-4ec08-001ec405b16b809a80b629f5224159ef21439e1f.gz
This commit is contained in:
parent
41d1a1b18b
commit
c2a7981122
1 changed files with 1 additions and 1 deletions
|
@ -2049,7 +2049,7 @@ class machine(base_classes_crans):
|
||||||
try:
|
try:
|
||||||
for line in open('/usr/scripts/gestion/ethercodes.dat').readlines():
|
for line in open('/usr/scripts/gestion/ethercodes.dat').readlines():
|
||||||
if line.startswith(prefix):
|
if line.startswith(prefix):
|
||||||
vendor = line.replace(prefix,'').strip()
|
vendor = line.replace(prefix,'').replace('( )','').strip()
|
||||||
break
|
break
|
||||||
except IOError:
|
except IOError:
|
||||||
# Le fichier existe pas, on sors
|
# Le fichier existe pas, on sors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue