src/eric7/PluginManager/PluginRepositoryDialog.py

branch
eric7
changeset 10069
435cc5875135
parent 9983
2526f3b8c421
child 10314
1f7d52f024b1
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
424 url = self.repositoryUrlEdit.text() 424 url = self.repositoryUrlEdit.text()
425 if Preferences.getPluginManager("ForceHttpPluginDownload"): 425 if Preferences.getPluginManager("ForceHttpPluginDownload"):
426 url = url.replace("https://", "http://") 426 url = url.replace("https://", "http://")
427 self.__pluginManager.downLoadRepositoryFile(url=url) 427 self.__pluginManager.downLoadRepositoryFile(url=url)
428 428
429 def __downloadRepositoryFileDone(self, status, filename): 429 def __downloadRepositoryFileDone(self, status, filename): # noqa: U100
430 """ 430 """
431 Private method called after the repository file was downloaded. 431 Private method called after the repository file was downloaded.
432 432
433 @param status flaging indicating a successful download (boolean) 433 @param status flaging indicating a successful download (boolean)
434 @param filename full path of the downloaded file (string) 434 @param filename full path of the downloaded file (string)
1074 @type bool 1074 @type bool
1075 """ 1075 """
1076 pluginsRegister = [] # list of plug-ins contained in the repository 1076 pluginsRegister = [] # list of plug-ins contained in the repository
1077 1077
1078 def registerPlugin( 1078 def registerPlugin(
1079 name, short, description, url, author, version, filename, status 1079 name, short, description, url, author, version, filename, status # noqa: U100
1080 ): 1080 ):
1081 """ 1081 """
1082 Method to register a plug-in's data. 1082 Method to register a plug-in's data.
1083 1083
1084 @param name data for the name field (string) 1084 @param name data for the name field (string)

eric ide

mercurial