Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PY3] Fix m4 macro for python 3
[modules/kernel.git]
/
doc
/
salome
/
examples
/
example15
diff --git
a/doc/salome/examples/example15
b/doc/salome/examples/example15
index 42493fe019816b4fa378f952a735d3767d693bcc..4ba2ec4d5f8c02af4bde476d823ebb43cc55073a 100644
(file)
--- a/
doc/salome/examples/example15
+++ b/
doc/salome/examples/example15
@@
-9,7
+9,7
@@
A = A._narrow(SALOMEDS.AttributeLocalID)
A.SetValue(763242882)
if A.Value() != 763242882:
A.SetValue(763242882)
if A.Value() != 763242882:
- print
"Error: wrong value of AttributeLocalID"
+ print
("Error: wrong value of AttributeLocalID")
# save / restore study
#=================================
# save / restore study
#=================================
@@
-39,5
+39,5
@@
if res == 0 or A == None:
A = A._narrow(SALOMEDS.AttributeLocalID)
if A.Value() != 763242882:
A = A._narrow(SALOMEDS.AttributeLocalID)
if A.Value() != 763242882:
- print
"Error: wrong value of AttributeLocalID"
+ print
("Error: wrong value of AttributeLocalID")