Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PY3] use python3 idioms, fix relative imports, fix plugins
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex15.py
diff --git
a/doc/salome/examples/modifying_meshes_ex15.py
b/doc/salome/examples/modifying_meshes_ex15.py
index efd5cfbf9b051a20e33693316dbbb31c44f7189a..9141e5c8c8947ebf4521cf38b0e48ee42d58e83c 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex15.py
+++ b/
doc/salome/examples/modifying_meshes_ex15.py
@@
-33,7
+33,7
@@
for vId in geompy.SubShapeAllIDs( box, geompy.ShapeType["VERTEX"]):
pass
if not node000:
- raise
"node000 not found"
+ raise
Exception("node000 not found")
# find node000 using a dedicated function
n = mesh.FindNodeClosestTo( -1,-1,-1 )