Salome HOME
Merge Python 3 porting.
[modules/kernel.git] / doc / salome / examples / example14
index 384ae8fc7bd65c7dea47fea20f2ddd5f0c55da20..643891394ebe0205ac16a4dc0dc1d7504483212c 100644 (file)
@@ -9,7 +9,7 @@ aPixmap = A._narrow(SALOMEDS.AttributePixMap);
 aPixmap.SetPixMap( "ICON_OBJBROWSER_Geometry" );
 
 if aPixmap.GetPixMap() != "ICON_OBJBROWSER_Geometry":
-        print "Error: wrong value of AttributePixMap"
+        print("Error: wrong value of AttributePixMap")
 
 
 #      save / restore study      
@@ -43,5 +43,5 @@ if A == None :
         raise  RuntimeError, "Can't create AttributePixMap attribute"
 
 if A.GetPixMap() != "ICON_OBJBROWSER_Geometry":
-        print "Error: wrong value of AttributePixMap"
+        print("Error: wrong value of AttributePixMap")