summaryrefslogtreecommitdiff
path: root/python/downloadprovider.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2019-05-14 21:34:57 -0700
committerPeter LaFosse <peter@vector35.com>2019-07-08 23:14:30 -0400
commitad37832dd4ffa112b10b523a151d3fa9b86b6c9d (patch)
tree364641f60f878150bb010c4b51f088e49c8ba058 /python/downloadprovider.py
parent7e7f0b41548057093fb48f1d8985712b619e9438 (diff)
PluginManager refactor for supporting plugin installation ui
Expose additional PluginManager APIs and update documentation
Diffstat (limited to 'python/downloadprovider.py')
-rw-r--r--python/downloadprovider.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/python/downloadprovider.py b/python/downloadprovider.py
index 8d3718b9..27f007ff 100644
--- a/python/downloadprovider.py
+++ b/python/downloadprovider.py
@@ -79,9 +79,6 @@ class DownloadInstance(object):
def perform_request(self, ctxt, url):
raise NotImplementedError
- def perform_request(self, url, callbacks):
- return core.BNPerformDownloadRequest(self.handle, url, callbacks)
-
class _DownloadProviderMetaclass(type):
@property
@@ -165,11 +162,9 @@ if (sys.platform != "win32") and (sys.version_info >= (2, 7, 9)):
def __init__(self, provider):
super(PythonDownloadInstance, self).__init__(provider)
- @abc.abstractmethod
def perform_destroy_instance(self):
pass
- @abc.abstractmethod
def perform_request(self, url):
try:
proxy_setting = Settings().get_string('downloadClient.httpsProxy')
@@ -223,11 +218,9 @@ else:
def __init__(self, provider):
super(PythonDownloadInstance, self).__init__(provider)
- @abc.abstractmethod
def perform_destroy_instance(self):
pass
- @abc.abstractmethod
def perform_request(self, url):
try:
proxy_setting = Settings().get_string('downloadClient.httpsProxy')