Salome HOME
porting to SALOME 9.3: 2to3
[modules/hydrosolver.git] / src / salome_hydro / param_study / eficas / appli.py
index a4411d4386fd25c05f72b616ef1934d1e874447e..9a5d017d408aa9f5de1c732af9cf4a36a6af2c5b 100644 (file)
@@ -82,7 +82,7 @@ class EficasForParamStudyAppli(eficasSalome.MyEficas):
         """
         try:
             self.ed.find_or_create_param_study(jdcPath)
-        except Exception, exc:
+        except Exception as exc:
             msgError = "Can't add file to Salome study tree"
             logger.exception(msgError)
             QMessageBox.warning(self, self.tr("Warning"),