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) |