src/eric7/PluginManager/PluginManager.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9576
be9f8e7e42e0
--- a/src/eric7/PluginManager/PluginManager.py	Sun Nov 06 11:22:39 2022 +0100
+++ b/src/eric7/PluginManager/PluginManager.py	Mon Nov 07 17:19:58 2022 +0100
@@ -25,6 +25,7 @@
 from eric7.EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired
 from eric7.EricWidgets import EricMessageBox
 from eric7.EricWidgets.EricApplication import ericApp
+from eric7.EricXML.PluginRepositoryReader import PluginRepositoryReader
 from eric7.Globals import getConfig
 
 try:
@@ -1327,8 +1328,6 @@
                 url = Preferences.getUI("PluginRepositoryUrl7")
 
                 # read the repository file
-                from eric7.EricXML.PluginRepositoryReader import PluginRepositoryReader
-
                 reader = PluginRepositoryReader(f, self.checkPluginEntry)
                 reader.readXML()
                 if url != Preferences.getUI("PluginRepositoryUrl7"):
@@ -1453,7 +1452,7 @@
             pip = ericApp().getObject("Pip")
         except KeyError:
             # Installation is performed via the plug-in installation script.
-            from eric7.PipInterface.Pip import Pip
+            from eric7.PipInterface.Pip import Pip  # __IGNORE_WARNING_I101__
 
             pip = Pip(self)
         pip.installPackages(packages, interpreter=Globals.getPythonExecutable())

eric ide

mercurial