From 48573c47d4d1fb7d420e278ffc9288f593357878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Thu, 19 Feb 2015 11:12:46 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20batv-0=20aux=20switches=20ignor?= =?UTF-8?q?=C3=A9s=20par=20all=5Fswitchs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/annuaires_pg.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = []