Salome HOME
Merge Python 3 porting.
[modules/geom.git] / doc / salome / examples / check_compound_of_blocks.py
index 36c99474cc10233a2258243ebcb1bb6913708d05..c2a9a04d6b84143a8aabbb94b1fc269f77570831 100644 (file)
@@ -19,6 +19,6 @@ tolerance = 1e-5
 glue = geompy.MakeGlueFaces(compound, tolerance)
 IsValid = geompy.CheckCompoundOfBlocks(glue)
 if IsValid == 0:
-    raise RuntimeError, "Invalid compound created"
+    raise RuntimeError("Invalid compound created")
 else:
-    print "\nCompound is valid"
+    print("\nCompound is valid")