eric7/PluginManager/PluginRepositoryDialog.py

branch
eric7
changeset 8351
7d13e08ddb3f
parent 8318
962bce857696
child 8354
12ebd3934fef
equal deleted inserted replaced
8350:74a3b2a6a944 8351:7d13e08ddb3f
390 390
391 if os.path.exists(self.pluginRepositoryFile): 391 if os.path.exists(self.pluginRepositoryFile):
392 self.__repositoryMissing = False 392 self.__repositoryMissing = False
393 f = QFile(self.pluginRepositoryFile) 393 f = QFile(self.pluginRepositoryFile)
394 if f.open(QIODevice.OpenModeFlag.ReadOnly): 394 if f.open(QIODevice.OpenModeFlag.ReadOnly):
395 from E5XML.PluginRepositoryReader import PluginRepositoryReader 395 from EricXML.PluginRepositoryReader import PluginRepositoryReader
396 reader = PluginRepositoryReader(f, self.addEntry) 396 reader = PluginRepositoryReader(f, self.addEntry)
397 reader.readXML() 397 reader.readXML()
398 self.repositoryList.resizeColumnToContents(0) 398 self.repositoryList.resizeColumnToContents(0)
399 self.repositoryList.resizeColumnToContents(1) 399 self.repositoryList.resizeColumnToContents(1)
400 self.repositoryList.resizeColumnToContents(2) 400 self.repositoryList.resizeColumnToContents(2)
962 pluginRepositoryFile = os.path.join(Utilities.getConfigDir(), 962 pluginRepositoryFile = os.path.join(Utilities.getConfigDir(),
963 "PluginRepository") 963 "PluginRepository")
964 if os.path.exists(pluginRepositoryFile): 964 if os.path.exists(pluginRepositoryFile):
965 f = QFile(pluginRepositoryFile) 965 f = QFile(pluginRepositoryFile)
966 if f.open(QIODevice.OpenModeFlag.ReadOnly): 966 if f.open(QIODevice.OpenModeFlag.ReadOnly):
967 from E5XML.PluginRepositoryReader import PluginRepositoryReader 967 from EricXML.PluginRepositoryReader import PluginRepositoryReader
968 reader = PluginRepositoryReader(f, registerPlugin) 968 reader = PluginRepositoryReader(f, registerPlugin)
969 reader.readXML() 969 reader.readXML()
970 970
971 for pluginName in downloads: 971 for pluginName in downloads:
972 if pluginName not in pluginsRegister: 972 if pluginName not in pluginsRegister:

eric ide

mercurial