From: GERALD NICOLAS Date: Fri, 2 Apr 2021 13:18:20 +0000 (+0200) Subject: erreur de décodage du dcitionnaire X-Git-Tag: V9_7_0a1~8^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=56374a61bb40fb8203cfa28225293d739bc5fe2d;p=modules%2Fsmesh.git erreur de décodage du dcitionnaire --- diff --git a/src/Tools/blocFissure/gmu/eliminateDoubles.py b/src/Tools/blocFissure/gmu/eliminateDoubles.py index f037a790e..86c56b3a2 100644 --- a/src/Tools/blocFissure/gmu/eliminateDoubles.py +++ b/src/Tools/blocFissure/gmu/eliminateDoubles.py @@ -22,9 +22,6 @@ import logging from .geomsmesh import geompy -# ----------------------------------------------------------------------------- -# --- - def eliminateDoubles(obj, subshapes): """éliminer les doublons d'une liste de subshapes""" @@ -37,7 +34,7 @@ def eliminateDoubles(obj, subshapes): idsubs[subid] = [sub] shortList = list() - for l_sub in idsubs.items(): + for _, l_sub in idsubs.items(): shortList.append(l_sub[0]) logging.debug("shortList=%s", shortList)