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
[tuleap26358] : non regression test
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex04.py
diff --git
a/doc/salome/examples/modifying_meshes_ex04.py
b/doc/salome/examples/modifying_meshes_ex04.py
index 5aad0f551cd0d0c66e5728799775ef7b3aa2b37f..ad8d151b0de7505b45be7d7e33eccdf51ae8374e 100644
(file)
--- a/
doc/salome/examples/modifying_meshes_ex04.py
+++ b/
doc/salome/examples/modifying_meshes_ex04.py
@@
-3,13
+3,13
@@
import SMESH_mechanic
mesh = SMESH_mechanic.mesh
import SMESH_mechanic
mesh = SMESH_mechanic.mesh
-print
""
+print
("")
# add node
n1 = mesh.AddNode(50, 10, 0)
# add node
n1 = mesh.AddNode(50, 10, 0)
-if n1 == 0: print
"KO node addition."
+if n1 == 0: print
("KO node addition.")
# add edge
e1 = mesh.AddEdge([n1, 38])
# add edge
e1 = mesh.AddEdge([n1, 38])
-if e1 == 0: print
"KO edge addition."
-else: print
"New Edge has been added with ID ", e1
+if e1 == 0: print
("KO edge addition.")
+else: print
("New Edge has been added with ID ", e1)