]> SALOME platform Git repositories - modules/homard.git/blobdiff - src/tests/Test/tutorial_2.py
Salome HOME
Porting to Python 3
[modules/homard.git] / src / tests / Test / tutorial_2.py
index ee9802de4205a26e2b4ce71d6698f5ec322b15f6..ef643aa6ba011d430e9c477343126ca14c7d75c9 100755 (executable)
@@ -134,7 +134,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