From: Yoann AUDOUIN Date: Mon, 13 Nov 2017 10:13:09 +0000 (+0100) Subject: [fix] Error in catalog intoSug -> into X-Git-Tag: Salome_8_3_Hydro_1_1rc1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=48402f688ae231585a3e950dfcbcc0481e83bf47;p=modules%2Fhydrosolver.git [fix] Error in catalog intoSug -> into --- 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")' ),