]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_1.py
Salome HOME
Porting to Python 3
[modules/homard.git] / src / tests / Test / tutorial_1.py
index 201490bfbafad641db509902d019c24e21cd2b96..5aceb08f19edc3e9df5884ca057db46226ba5999 100755 (executable)
@@ -123,7 +123,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