Salome HOME
Merge Python 3 porting.
[modules/geom.git] / src / GEOM_SWIG / STLPluginBuilder.py
index 01a3791fca3f1816ddba8aea75e94009dce301f8..5adf21ea6e581fba40464fdf7b63da5637d1e50c 100644 (file)
@@ -52,7 +52,7 @@ def ExportSTL(self, theObject, theFileName, theIsASCII = True, theDeflection = 0
     anOp = GetSTLPluginOperations(self)
     anOp.ExportSTL(theObject, theFileName, theIsASCII, theDeflection, theIsRelative )
     if anOp.IsDone() == 0:
-        raise RuntimeError,  "Export : " + anOp.GetErrorCode()
+        raise RuntimeError("Export : " + anOp.GetErrorCode())
         pass
     pass