]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
erreur de décodage du dcitionnaire
authorGERALD NICOLAS <D68518@dsp0864451.atlas.edf.fr>
Fri, 2 Apr 2021 13:18:20 +0000 (15:18 +0200)
committerGERALD NICOLAS <D68518@dsp0864451.atlas.edf.fr>
Fri, 2 Apr 2021 13:18:20 +0000 (15:18 +0200)
src/Tools/blocFissure/gmu/eliminateDoubles.py

index f037a790e62172d0db198e0dcba0455a85096984..86c56b3a2f038443b2c036d2015e164b021320f0 100644 (file)
@@ -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)