]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_SWIG/BREPPluginBuilder.py
Salome HOME
[PYTHON 3] 1st draft
[modules/geom.git] / src / GEOM_SWIG / BREPPluginBuilder.py
index 11a25726d0acb9a4dba2a05c31afce932df4e37c..704f7574f78632ef99c8feb27cb110fa8495bd23 100644 (file)
@@ -42,7 +42,7 @@ def ExportBREP(self, theObject, theFileName):
     anOp = GetBREPPluginOperations(self)
     anOp.ExportBREP(theObject, theFileName)
     if anOp.IsDone() == 0:
-        raise RuntimeError,  "Export : " + anOp.GetErrorCode()
+        raise RuntimeError("Export : " + anOp.GetErrorCode())
         pass
     pass