Salome HOME
[PY3] 2to3 results
[modules/smesh.git] / src / SMESH_SWIG / batchmode_smesh.py
index a78f922ca014765026acb4c554f5e572375946c0..28a25a251b46941cdcd2fc7e81742533f3bcf4ef 100644 (file)
@@ -38,7 +38,7 @@ smesh.SetCurrentStudy(myStudy)
 myStudyBuilder = myStudy.NewBuilder()
 
 if myStudyBuilder is None:
 myStudyBuilder = myStudy.NewBuilder()
 
 if myStudyBuilder is None:
-    raise RuntimeError, " Null myStudyBuilder"
+    raise RuntimeError(" Null myStudyBuilder")
 
 father = myStudy.FindComponent("SMESH")
 if father is None:
 
 father = myStudy.FindComponent("SMESH")
 if father is None: