From b93c261f73923c845635672ee9b717df87a8497d Mon Sep 17 00:00:00 2001 From: spo Date: Wed, 16 Dec 2015 11:42:22 +0300 Subject: [PATCH] [PythonAPI] Fix type error in tools.fill_attribute() for ModelAPI_AttributeRefAttr section --- src/PythonAPI/model/tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PythonAPI/model/tools.py b/src/PythonAPI/model/tools.py index 9971e4b69..a9357d7c8 100644 --- a/src/PythonAPI/model/tools.py +++ b/src/PythonAPI/model/tools.py @@ -83,9 +83,9 @@ def fill_attribute(attribute, value): assert(isinstance(value, ModelAPI.ModelAPI_Attribute) or isinstance(value, ModelAPI.ModelAPI_Object)) if isinstance(value, ModelAPI.ModelAPI_Attribute): - attrubute.setAttr(value) + attribute.setAttr(value) elif isinstance(value, ModelAPI.ModelAPI_Object): - attrubute.setObject(value) + attribute.setObject(value) elif isinstance(attribute, ModelAPI.ModelAPI_AttributeRefList): attribute.clear() -- 2.39.2