src/eric7/eric7_ide.py

branch
eric7
changeset 9473
3f23dbf37dbe
parent 9431
dfc249493a98
child 9482
a2bc06a54d9d
--- a/src/eric7/eric7_ide.py	Fri Nov 04 13:46:31 2022 +0100
+++ b/src/eric7/eric7_ide.py	Fri Nov 04 13:52:26 2022 +0100
@@ -17,8 +17,8 @@
 import multiprocessing
 import os
 import sys
+import time
 import traceback
-import time
 
 originalPathString = os.getenv("PATH")
 
@@ -36,7 +36,7 @@
 restartArgs = [arg for arg in sys.argv[1:] if arg.split("=", 1)[0] in restartArgsList]
 
 try:
-    from PyQt6.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication
+    from PyQt6.QtCore import QCoreApplication, QLibraryInfo, QTimer, qWarning
 except ImportError:
     try:
         from tkinter import messagebox
@@ -145,8 +145,8 @@
     @param excValue exception value
     @param tracebackobj traceback object
     """
+    from eric7 import Globals, Utilities
     from eric7.UI.Info import BugAddress
-    from eric7 import Globals, Utilities
 
     # Workaround for a strange issue with QScintilla
     if str(excValue) == "unable to convert a QVariant back to a Python object":
@@ -309,7 +309,7 @@
     Startup.initializeResourceSearchPath(app)
 
     # generate and show a splash window, if not suppressed
-    from eric7.UI.SplashScreen import SplashScreen, NoneSplashScreen
+    from eric7.UI.SplashScreen import NoneSplashScreen, SplashScreen
 
     if "--no-splash" in sys.argv and sys.argv.index("--no-splash") < ddindex:
         sys.argv.remove("--no-splash")

eric ide

mercurial