]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
fix: initialise set and not dict
authorSONOLET Aymeric <aymeric.sonolet@cea.fr>
Thu, 11 Jan 2024 12:17:21 +0000 (13:17 +0100)
committerSONOLET Aymeric <aymeric.sonolet@cea.fr>
Wed, 14 Feb 2024 17:07:36 +0000 (18:07 +0100)
src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py

index 7eaa6b278e3359471dab2ce29e9e044342be7290..15f3d7db71fdfd858343749b5238da253555f45b 100644 (file)
@@ -268,7 +268,7 @@ class PublishToStudyFeature(ModelAPI.ModelAPI_Feature):
         Part of the "execute" method: processes the Fields of res result
         publication.
         """
-        allFieldsProcessed = {}
+        allFieldsProcessed = set()
         allRefFields = []
         allRefFields.append(ModelAPI.referencedFeatures(res, "Field", True))
         resShape = res.shape()