Salome HOME
updated copyright message
[modules/smesh.git] / src / Tools / padder / spadderpy / plugin / spadderPlugin.py
index e9f8fa12e7fc88da76f641f2cca3515b21186974..17e5758de78061526ad2feda8f250b3110e3f450 100644 (file)
@@ -1,5 +1,5 @@
 # -*- coding: iso-8859-1 -*-
-# Copyright (C) 2011-2016  EDF R&D
+# Copyright (C) 2011-2023  EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -25,7 +25,7 @@ def runSpadderPlugin(context):
     from salome.kernel.uiexception import UiException
     try:
         dialog=plugindialog.getDialog()
-    except UiException, err:
+    except UiException as err:
         from qtsalome import QMessageBox
         QMessageBox.critical(None,"An error occurs during PADDER configuration",
                              err.getUIMessage())