diff --git a/gestion/annuaires_pg.py b/gestion/annuaires_pg.py index 3ed82640..0050fd08 100644 --- a/gestion/annuaires_pg.py +++ b/gestion/annuaires_pg.py @@ -292,6 +292,7 @@ _SPECIAL_SWITCHES=['backbone.adm.crans.org', 'batk-0.crans.org', 'batp-4.adm.crans.org', 'minigiga.adm.crans.org', + 'batv-0.adm.crans.org', ] def all_switchs(bat=None, hide=_SPECIAL_SWITCHES): @@ -303,7 +304,7 @@ def all_switchs(bat=None, hide=_SPECIAL_SWITCHES): simplement batx""" if bat == None: - bat = bat_switchs + bat = list(bat_switchs) if type(bat) not in [ tuple, list ] : bat = [bat] switchs = []