From 48402f688ae231585a3e950dfcbcc0481e83bf47 Mon Sep 17 00:00:00 2001 From: Yoann AUDOUIN Date: Mon, 13 Nov 2017 11:13:09 +0100 Subject: [PATCH] [fix] Error in catalog intoSug -> into --- src/salome_hydro/telemac2d/eficas/telemac2d_V6_cata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/salome_hydro/telemac2d/eficas/telemac2d_V6_cata.py b/src/salome_hydro/telemac2d/eficas/telemac2d_V6_cata.py index 8bb6db6..da9ff2b 100644 --- a/src/salome_hydro/telemac2d/eficas/telemac2d_V6_cata.py +++ b/src/salome_hydro/telemac2d/eficas/telemac2d_V6_cata.py @@ -39,6 +39,7 @@ def get_list_var_api(module): return ['No variable available'] varnames, _ = model.list_variables() + del(model) return sorted(varnames) class Tuple: @@ -104,7 +105,7 @@ TELEMAC2D = PROC( ang = u'Telemac2D model variable', VAR_NAME = SIMP(statut = "o", typ = 'TXM', - intoSug = get_list_var_api('TELEMAC2D'), + into = get_list_var_api('TELEMAC2D'), fr = u'Nom de la variable du modèle (ex: "MODEL.DEBIT")', ang = u'Model variable name (ex: "MODEL.DEBIT")' ), -- 2.39.2