Salome HOME
[PY3] Fix m4 macro for python 3
[modules/kernel.git] / doc / salome / examples / example5
index 59e3bc6a031b59a5f8addd793a4065674859a6bb..0f0db484f7ed1b95ad8333ba158fb96cb87ba580 100644 (file)
@@ -11,7 +11,7 @@ if A == None :
 A.SetValue("AttributesTesting")
 
 if A.Value() != "AttributesTesting":
-        print "Wrong  value of AttributeName"
+        print("Wrong  value of AttributeName")
 
 
 #      save / restore study      
@@ -46,5 +46,5 @@ if A == None :
         raise  RuntimeError, "Can't create AttributeName attribute"
 
 if A.Value() != "AttributesTesting":
-        print "Wrong  value of AttributeName"
+        print("Wrong  value of AttributeName")