summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XFileSharingPro.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:59:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:40 +0200
commit20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch)
treefdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/hooks/XFileSharingPro.py
parentSpare code cosmetics (diff)
downloadpyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/hooks/XFileSharingPro.py')
-rw-r--r--module/plugins/hooks/XFileSharingPro.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/module/plugins/hooks/XFileSharingPro.py b/module/plugins/hooks/XFileSharingPro.py
index 8ef5941d1..0c103b56a 100644
--- a/module/plugins/hooks/XFileSharingPro.py
+++ b/module/plugins/hooks/XFileSharingPro.py
@@ -44,13 +44,13 @@ class XFileSharingPro(Hook):
CRYPTER_BUILTIN = ["junocloud.me", "rapidfileshare.net"]
- # def pluginConfigChanged(self, plugin, name, value):
- # self.loadPattern()
+ #: def pluginConfigChanged(self, plugin, name, value):
+ #: self.loadPattern()
def setup(self):
self.info = {} #@TODO: Remove in 0.4.10
- # self.event_list = ["pluginConfigChanged"]
+ #: self.event_list = ["pluginConfigChanged"]
def activate(self):
@@ -105,7 +105,7 @@ class XFileSharingPro(Hook):
def deactivate(self):
- # self.unloadHoster("BasePlugin")
+ #: self.unloadHoster("BasePlugin")
for type, plugin in (("hoster", "XFileSharingPro"),
("crypter", "XFileSharingProFolder")):
self._unload(type, plugin)
@@ -126,10 +126,10 @@ class XFileSharingPro(Hook):
return False
- # def download_failed(self, pyfile):
- # if pyfile.pluginname == "BasePlugin" \
- # and pyfile.hasStatus("failed") \
- # and not self.getConfig('use_hoster_list') \
- # and self.unloadHoster("BasePlugin"):
- # self.logDebug("Unloaded XFileSharingPro from BasePlugin")
- # pyfile.setStatus("queued")
+ #: def download_failed(self, pyfile):
+ #: if pyfile.pluginname == "BasePlugin" \
+ #: and pyfile.hasStatus("failed") \
+ #: and not self.getConfig('use_hoster_list') \
+ #: and self.unloadHoster("BasePlugin"):
+ #: self.logDebug("Unloaded XFileSharingPro from BasePlugin")
+ #: pyfile.setStatus("queued")