La preuve, la variable s'appelle "pasimportant"
darcs-hash:20051008092720-d1718-315b712c485c1e8b14f2b7f3fb16321481047c2a.gz
This commit is contained in:
parent
f7ddeed69b
commit
91d635da5a
1 changed files with 4 additions and 3 deletions
|
@ -24,8 +24,9 @@ class autostatus(gen_config) :
|
|||
CONFFILE = '/etc/autostatus/hosts'
|
||||
|
||||
# machines crans à ne pas mettre dans l'autostatus
|
||||
exclude = ["non-configure.wifi.crans.org", "epave.ferme.crans.org",
|
||||
"kiss.crans.org", "cableuse.crans.org", "webradio.crans.org", "cableur.crans.org"]
|
||||
pasimportant = ["non-configure.wifi.crans.org", "epave.ferme.crans.org",
|
||||
"kiss.crans.org", "cableuse.crans.org", "webradio.crans.org",
|
||||
"cableur.crans.org"]
|
||||
|
||||
# matrice du fichier d'autostatus
|
||||
matrice = """
|
||||
|
@ -157,7 +158,7 @@ class autostatus(gen_config) :
|
|||
for m in machines :
|
||||
|
||||
# machine exclue
|
||||
if m.nom() in self.exclude :
|
||||
if m.nom() in self.pasimportant :
|
||||
continue
|
||||
|
||||
# les bornes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue