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