From adac0d1f2dbea5f2f3e7ede07c411032340a9982 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Ribes?= Date: Mon, 27 Feb 2012 17:14:51 +0100 Subject: [PATCH] Ajout de l'option pour le noeud YACS --- bin/AdaoCatalogGenerator.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bin/AdaoCatalogGenerator.py b/bin/AdaoCatalogGenerator.py index d02d726..3d85170 100644 --- a/bin/AdaoCatalogGenerator.py +++ b/bin/AdaoCatalogGenerator.py @@ -93,7 +93,14 @@ assim_data_choice = """ observers_choice = """ ${var_name} = BLOC (condition=" '${var_name}' in set(SELECTION) ", - Scheduler = SIMP(statut = "f", typ = "TXM") + Scheduler = SIMP(statut = "f", typ = "TXM"), + NodeType = SIMP(statut = "o", typ = "TXM", min=1, max=1, defaut = "", into=("pyscript", "userfile")), + PythonScript = BLOC (condition = " NodeType == 'pyscript' ", + Value = SIMP(statut = "o", typ = "TXM") + ), + UserFile = BLOC (condition = " NodeType == 'userfile' ", + Value = SIMP(statut = "o", typ = "FichierNoAbs", validators=(OnlyStr())) + ) ), """ -- 2.39.2