Salome HOME
[PYTHON 3] 1st draft
[modules/geom.git] / src / GEOM_SWIG / STLPluginBuilder.py
index 1ee593c1352ee96d06ce3823791809e1ab59dabd..6d74c0347e4e92bc8d40964d8efad3280e44777b 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