]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/model/roots.py
Salome HOME
updated copyright message
[modules/shaper.git] / src / PythonAPI / model / roots.py
index 00abaae5252f4e0adac0f13a2a2fe9034e9b42a4..09c87a7e82cff38e4d927ab8c2ff4533edf0f502 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2014-2021  CEA/DEN, EDF R&D
+# Copyright (C) 2014-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -33,7 +33,7 @@ class Feature(ModelAPI.ModelAPI_Feature):
     def addRealInput(self, inputid):
         """F.addRealInput(str) -- add real attribute"""
         self.data().addAttribute(inputid,
-                                 ModelAPI.ModelAPI_AttributeDouble_typeId())
+                                 ModelAPI.ModelAPI_AttributeDouble.typeId())
 
     def getRealInput(self, inputid):
         """F.getRealInput(str) -- get real value of the attribute"""