Ajout de batv-0 aux switches ignorés par all_switchs.
This commit is contained in:
parent
0411b3d986
commit
48573c47d4
1 changed files with 2 additions and 1 deletions
|
@ -292,6 +292,7 @@ _SPECIAL_SWITCHES=['backbone.adm.crans.org',
|
||||||
'batk-0.crans.org',
|
'batk-0.crans.org',
|
||||||
'batp-4.adm.crans.org',
|
'batp-4.adm.crans.org',
|
||||||
'minigiga.adm.crans.org',
|
'minigiga.adm.crans.org',
|
||||||
|
'batv-0.adm.crans.org',
|
||||||
]
|
]
|
||||||
|
|
||||||
def all_switchs(bat=None, hide=_SPECIAL_SWITCHES):
|
def all_switchs(bat=None, hide=_SPECIAL_SWITCHES):
|
||||||
|
@ -303,7 +304,7 @@ def all_switchs(bat=None, hide=_SPECIAL_SWITCHES):
|
||||||
simplement batx"""
|
simplement batx"""
|
||||||
|
|
||||||
if bat == None:
|
if bat == None:
|
||||||
bat = bat_switchs
|
bat = list(bat_switchs)
|
||||||
if type(bat) not in [ tuple, list ] :
|
if type(bat) not in [ tuple, list ] :
|
||||||
bat = [bat]
|
bat = [bat]
|
||||||
switchs = []
|
switchs = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue