From: SONOLET Aymeric Date: Thu, 11 Jan 2024 12:17:21 +0000 (+0100) Subject: fix: initialise set and not dict X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=550506799db748af298754b3d297b88f722544a6;p=modules%2Fshaper.git fix: initialise set and not dict --- diff --git a/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py b/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py index 7eaa6b278..15f3d7db7 100644 --- a/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py +++ b/src/ConnectorPlugin/ConnectorPlugin_PublishToStudyFeature.py @@ -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()