--- a/eric7/PluginManager/PluginManager.py Sun May 16 11:43:59 2021 +0200 +++ b/eric7/PluginManager/PluginManager.py Sun May 16 20:07:24 2021 +0200 @@ -14,11 +14,11 @@ import importlib import contextlib -from PyQt5.QtCore import ( +from PyQt6.QtCore import ( pyqtSignal, QObject, QDate, QFile, QFileInfo, QUrl, QIODevice ) -from PyQt5.QtGui import QPixmap -from PyQt5.QtNetwork import ( +from PyQt6.QtGui import QPixmap +from PyQt6.QtNetwork import ( QNetworkAccessManager, QNetworkRequest, QNetworkReply ) @@ -1257,7 +1257,7 @@ self.__updateAvailable = False request = QNetworkRequest( - QUrl(Preferences.getUI("PluginRepositoryUrl6"))) + QUrl(Preferences.getUI("PluginRepositoryUrl7"))) request.setAttribute( QNetworkRequest.Attribute.CacheLoadControlAttribute, QNetworkRequest.CacheLoadControl.AlwaysNetwork) @@ -1283,7 +1283,7 @@ self.tr( """<p>Could not download the requested file""" """ from {0}.</p><p>Error: {1}</p>""" - ).format(Preferences.getUI("PluginRepositoryUrl6"), + ).format(Preferences.getUI("PluginRepositoryUrl7"), reply.errorString()) ) reply.deleteLater() @@ -1302,13 +1302,13 @@ f = QFile(self.pluginRepositoryFile) if f.open(QIODevice.OpenModeFlag.ReadOnly): # save current URL - url = Preferences.getUI("PluginRepositoryUrl6") + url = Preferences.getUI("PluginRepositoryUrl7") # read the repository file from E5XML.PluginRepositoryReader import PluginRepositoryReader reader = PluginRepositoryReader(f, self.checkPluginEntry) reader.readXML() - if url != Preferences.getUI("PluginRepositoryUrl6"): + if url != Preferences.getUI("PluginRepositoryUrl7"): # redo if it is a redirect self.checkPluginUpdatesAvailable() return