From c7e02a7a3ba0c5617a06afe3faa7f352c013624d Mon Sep 17 00:00:00 2001 From: spo Date: Fri, 30 Oct 2015 10:57:07 +0300 Subject: [PATCH] Remove execute() from partition feature. --- src/PythonAPI/model/features/partition.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/PythonAPI/model/features/partition.py b/src/PythonAPI/model/features/partition.py index b37ef8ecd..6fa638d7a 100644 --- a/src/PythonAPI/model/features/partition.py +++ b/src/PythonAPI/model/features/partition.py @@ -48,24 +48,14 @@ class Partition(Interface): self._fill_attribute(self._main_objects, main_objects) self._fill_attribute(self._tool_objects, tool_objects) self._fill_attribute(self._partition_combine, partition_combine) - - self.__execute() pass - def __execute(self): - if self.areInputValid(): - self.execute() - else: - raise Exception("Cannot execute Partition: %s" % - self._feature.error()) - def setMainObjects(self, main_objects): """Modify base attribute of the feature. See __init__. """ self._fill_attribute(self._main_objects, main_objects) - self.__execute() pass def setToolObjects(self, tool_objects): @@ -74,7 +64,6 @@ class Partition(Interface): See __init__. """ self._fill_attribute(self._tool_objects, tool_objects) - self.__execute() pass def setPartitionCombine(self, partition_combine): @@ -83,5 +72,4 @@ class Partition(Interface): See __init__. """ self._fill_attribute(self._partition_combine, partition_combine) - self.__execute() pass -- 2.39.2