src/eric7/PluginManager/PluginRepositoryDialog.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9538
1fce92e31dad
child 9645
31aaa11672d3
--- a/src/eric7/PluginManager/PluginRepositoryDialog.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/PluginManager/PluginRepositoryDialog.py	Sun Dec 18 19:33:46 2022 +0100
@@ -42,7 +42,7 @@
     QWidget,
 )
 
-from eric7 import Globals, Preferences, Utilities
+from eric7 import Globals, Preferences
 from eric7.EricGui import EricPixmapCache
 from eric7.EricNetwork.EricNetworkProxyFactory import proxyAuthenticationRequired
 from eric7.EricWidgets import EricMessageBox
@@ -50,6 +50,7 @@
 from eric7.EricWidgets.EricMainWindow import EricMainWindow
 from eric7.EricXML.PluginRepositoryReader import PluginRepositoryReader
 from eric7.Globals import getConfig
+from eric7.SystemUtilities import PythonUtilities
 
 try:
     from eric7.EricNetwork.EricSslErrorHandler import (
@@ -209,7 +210,7 @@
         )
 
         self.pluginRepositoryFile = os.path.join(
-            Utilities.getConfigDir(), "PluginRepository"
+            Globals.getConfigDir(), "PluginRepository"
         )
 
         self.__pluginManager.pluginRepositoryFileDownloaded.connect(self.__populateList)
@@ -1037,7 +1038,7 @@
         args += self.cw.getDownloadedPlugins()
 
         if not os.path.isfile(applPath) or not proc.startDetached(
-            Globals.getPythonExecutable(), args
+            PythonUtilities.getPythonExecutable(), args
         ):
             EricMessageBox.critical(
                 self,
@@ -1144,7 +1145,7 @@
                     )
 
     # step 3: delete entries of obsolete plug-ins
-    pluginRepositoryFile = os.path.join(Utilities.getConfigDir(), "PluginRepository")
+    pluginRepositoryFile = os.path.join(Globals.getConfigDir(), "PluginRepository")
     if os.path.exists(pluginRepositoryFile):
         f = QFile(pluginRepositoryFile)
         if f.open(QIODevice.OpenModeFlag.ReadOnly):

eric ide

mercurial