]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_4.py
Salome HOME
Porting to Python 3
[modules/homard.git] / src / tests / Test / tutorial_4.py
index 676b2876cfc648fb15eda9f3b9964cb55fa89ea7..55b8c8dc7a17aeaf04f550d4056dd11ba597e441 100755 (executable)
@@ -150,7 +150,7 @@ try :
   ERROR = homard_exec(salome.myStudy)
   if ERROR :
     raise Exception('Pb in homard_exec at iteration %d' %ERROR )
-except Exception, eee:
+except Exception as eee:
   raise Exception('Pb in homard_exec: '+eee.message)
 #
 # Test of the results