From eac27d01ced6c7bb6389b94a644370a1719c3a2c Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Wed, 29 Mar 2017 15:03:43 +0200 Subject: [PATCH] [PY3] Fix plugins relative imports --- src/GUI_PY/genericdialog.py | 5 +---- src/GUI_PY/mytestdialog.py | 7 +++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/GUI_PY/genericdialog.py b/src/GUI_PY/genericdialog.py index 8b8be1710..78183833b 100644 --- a/src/GUI_PY/genericdialog.py +++ b/src/GUI_PY/genericdialog.py @@ -18,12 +18,9 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -__author__="gboulant" -__date__ ="$31 mars 2010 17:09:53$" - from qtsalome import QDialog, QMessageBox +from salome.gui.genericdialog_ui import Ui_GenericDialog -from genericdialog_ui import Ui_GenericDialog class GenericDialog(QDialog): """ diff --git a/src/GUI_PY/mytestdialog.py b/src/GUI_PY/mytestdialog.py index c03fbb299..baa2d7826 100644 --- a/src/GUI_PY/mytestdialog.py +++ b/src/GUI_PY/mytestdialog.py @@ -18,11 +18,10 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -__author__="gboulant" -__date__ ="$31 mars 2010 17:09:53$" from qtsalome import * -from mytestdialog_ui import Ui_MyTestDialog -from .genericdialog import GenericDialog +from salome.gui.genericdialog import GenericDialog +from salome.gui.mytestdialog_ui import Ui_MyTestDialog + class MyTestDialog(GenericDialog): """ -- 2.39.2