RefactoringRope/RefactoringServer.py

branch
eric7
changeset 396
933b8fcd854f
parent 394
b34f5dd3db27
child 406
923d7f711cae
--- a/RefactoringRope/RefactoringServer.py	Mon Oct 17 16:45:55 2022 +0200
+++ b/RefactoringRope/RefactoringServer.py	Mon Oct 24 19:31:03 2022 +0200
@@ -15,20 +15,16 @@
 from PyQt6.QtWidgets import QMenu, QApplication
 from PyQt6.Qsci import QsciScintilla
 
-from EricWidgets.EricApplication import ericApp
-from EricWidgets import EricMessageBox
-from EricGui.EricAction import EricAction
+from eric7 import Globals, Preferences, Utilities
+from eric7.EricGui.EricAction import EricAction
+from eric7.EricNetwork.EricJsonServer import EricJsonServer
+from eric7.EricWidgets import EricMessageBox
+from eric7.EricWidgets.EricApplication import ericApp
+from eric7.Preferences.Shortcuts import readShortcuts
 
-from EricNetwork.EricJsonServer import EricJsonServer
 
 from .RopeProgressDialog import RopeProgressDialog
 
-import Utilities
-import Preferences
-import Globals
-
-from Preferences.Shortcuts import readShortcuts
-
 
 class RefactoringServer(EricJsonServer):
     """
@@ -2073,7 +2069,7 @@
         if ropedir and os.path.exists(ropedir):
             configfile = os.path.join(ropedir, "config.py")
             if os.path.exists(configfile):
-                from QScintilla.MiniEditor import MiniEditor
+                from eric7.QScintilla.MiniEditor import MiniEditor
 
                 self.__editor = MiniEditor(configfile)
                 self.__editor.show()

eric ide

mercurial