mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 01:40:33 +05:00
erreur de décodage du dcitionnaire
This commit is contained in:
parent
93738e779d
commit
56374a61bb
@ -22,9 +22,6 @@
|
|||||||
import logging
|
import logging
|
||||||
from .geomsmesh import geompy
|
from .geomsmesh import geompy
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
|
||||||
# ---
|
|
||||||
|
|
||||||
def eliminateDoubles(obj, subshapes):
|
def eliminateDoubles(obj, subshapes):
|
||||||
"""éliminer les doublons d'une liste de subshapes"""
|
"""éliminer les doublons d'une liste de subshapes"""
|
||||||
|
|
||||||
@ -37,7 +34,7 @@ def eliminateDoubles(obj, subshapes):
|
|||||||
idsubs[subid] = [sub]
|
idsubs[subid] = [sub]
|
||||||
|
|
||||||
shortList = list()
|
shortList = list()
|
||||||
for l_sub in idsubs.items():
|
for _, l_sub in idsubs.items():
|
||||||
shortList.append(l_sub[0])
|
shortList.append(l_sub[0])
|
||||||
logging.debug("shortList=%s", shortList)
|
logging.debug("shortList=%s", shortList)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user