Les prises en 10Mb.

darcs-hash:20040910205644-41617-7f34db9dcce072ba2d774c7625dbab0d23832401.gz
This commit is contained in:
pauget 2004-09-10 22:56:44 +02:00
parent cd2535f3c8
commit 51dce99033

View file

@ -67,6 +67,9 @@ class switch(gen_config) :
# Action sur le switch # Action sur le switch
prise = chbre_prises[bat][chbre[1:].lower()] prise = chbre_prises[bat][chbre[1:].lower()]
sw=hp(bat,int(prise[0])) sw=hp(bat,int(prise[0]))
if prise[-1]=='-' :
prise=prise[:-1]
sw.set_prise(int(prise[1:4]),'speed-duplex auto-10')
r = sw.set_prise(int(prise[1:4]),action) r = sw.set_prise(int(prise[1:4]),action)
sw.close() sw.close()
if not r : if not r :