Salome HOME
Add construction plugin without tests.
[modules/shaper.git] / src / PythonAPI / model / part.py
index 560f76a3777d87eec40a1f540df4467601e0ac71..d69265dde735f384c0b1e891938a002123cac5df 100644 (file)
@@ -10,8 +10,8 @@ class Part():
 
   def __init__ (self, partset):
     """Adds a new Part to the given Partset and activates the Part."""
-    self.my = partset.addFeature("Part")
-    self.my.execute()
+    self._feature = partset.addFeature("Part")
+    self._feature.execute()
 
   def document (self):
     """Returns the Part document created by this feature."""