Salome HOME
Fix output formatting of Cleaner and SurfOpt plugins so that new lines are printed
[modules/smesh.git] / src / SMESH_SWIG / SMESH_BelongToGeom.py
index dd033b8944cc0931fae56f7eb52edc459eb8f3a9..04e6fc24488518be62f8af4c7ec549d93959e1b8 100644 (file)
@@ -54,13 +54,13 @@ def CheckBelongToGeomFilter(theMesh, theShape, theSubShape, theElemType):
     
 
 anElemType = SMESH.FACE;
-print "anElemType =", anElemType
+print("anElemType =", anElemType)
 #anIds = CheckBelongToGeomFilter(mesh,box,subShapeList[1],anElemType)
 anIds = CheckBelongToGeomFilter(mesh,box,box,anElemType)
-print "Number of ids = ", len(anIds)
-print "anIds = ", anIds
+print("Number of ids = ", len(anIds))
+print("anIds = ", anIds)
 ## Check old version
 #anIds = CheckBelongToGeomFilterOld(smesh,mesh.GetMesh(),box,box,anElemType)
 #print "anIds = ", anIds
 
-salome.sg.updateObjBrowser(1);
+salome.sg.updateObjBrowser()