Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/smesh.git]
/
src
/
Tools
/
padder
/
spadderpy
/
plugin
/
spadderPlugin.py
diff --git
a/src/Tools/padder/spadderpy/plugin/spadderPlugin.py
b/src/Tools/padder/spadderpy/plugin/spadderPlugin.py
index 3c699cddb312e9071c845c15934455f2534eb8d7..17e5758de78061526ad2feda8f250b3110e3f450 100644
(file)
--- a/
src/Tools/padder/spadderpy/plugin/spadderPlugin.py
+++ b/
src/Tools/padder/spadderpy/plugin/spadderPlugin.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2011-20
15 EDF R&D
+# Copyright (C) 2011-20
23 EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-25,8
+25,8
@@
def runSpadderPlugin(context):
from salome.kernel.uiexception import UiException
try:
dialog=plugindialog.getDialog()
from salome.kernel.uiexception import UiException
try:
dialog=plugindialog.getDialog()
- except UiException
,
err:
- from
PyQt4.QtGui
import QMessageBox
+ except UiException
as
err:
+ from
qtsalome
import QMessageBox
QMessageBox.critical(None,"An error occurs during PADDER configuration",
err.getUIMessage())
return
QMessageBox.critical(None,"An error occurs during PADDER configuration",
err.getUIMessage())
return