Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove redirection to execute(). Replace it with Interface.execute() with validation.
[modules/shaper.git]
/
src
/
PythonAPI
/
model
/
sketcher
/
line.py
diff --git
a/src/PythonAPI/model/sketcher/line.py
b/src/PythonAPI/model/sketcher/line.py
index eb8d735e022f00ad7c554f5d49323c966ae23d2c..08f870dbc787e46a79cd3da2b9f974e157f6b3c3 100644
(file)
--- a/
src/PythonAPI/model/sketcher/line.py
+++ b/
src/PythonAPI/model/sketcher/line.py
@@
-33,7
+33,7
@@
class Line(Interface):
raise WrongNumberOfArguments(
"Arc takes 1, 2 or 4 arguments (%s given)" % len(args)
)
- self.
_
execute()
+ self.execute()
def __createByCoordinates(self, x1, y1, x2, y2):
self.setStartPoint(x1, y1)