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
/
example5
diff --git
a/doc/salome/examples/example5
b/doc/salome/examples/example5
index 59e3bc6a031b59a5f8addd793a4065674859a6bb..0f0db484f7ed1b95ad8333ba158fb96cb87ba580 100644
(file)
--- a/
doc/salome/examples/example5
+++ b/
doc/salome/examples/example5
@@
-11,7
+11,7
@@
if A == None :
A.SetValue("AttributesTesting")
if A.Value() != "AttributesTesting":
A.SetValue("AttributesTesting")
if A.Value() != "AttributesTesting":
- print
"Wrong value of AttributeName"
+ print
("Wrong value of AttributeName")
# save / restore study
# save / restore study
@@
-46,5
+46,5
@@
if A == None :
raise RuntimeError, "Can't create AttributeName attribute"
if A.Value() != "AttributesTesting":
raise RuntimeError, "Can't create AttributeName attribute"
if A.Value() != "AttributesTesting":
- print
"Wrong value of AttributeName"
+ print
("Wrong value of AttributeName")