summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Plugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-15 17:15:29 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-15 17:15:29 +0100
commit282362c01b67f83ff5cf677ba125a41a6d594f2c (patch)
tree7782f1a146f41fa26fdd2c4bdb1679977cf5cf35 /pyload/plugins/Plugin.py
parentCode cosmetics (diff)
downloadpyload-282362c01b67f83ff5cf677ba125a41a6d594f2c.tar.xz
Update plugins 2
Diffstat (limited to 'pyload/plugins/Plugin.py')
-rw-r--r--pyload/plugins/Plugin.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/plugins/Plugin.py b/pyload/plugins/Plugin.py
index 0b8e02512..2d9837b52 100644
--- a/pyload/plugins/Plugin.py
+++ b/pyload/plugins/Plugin.py
@@ -371,7 +371,7 @@ class Plugin(Base):
""" abort and give reason """
if reason:
self.pyfile.error = str(reason)
- raise Abort #@TODO: Use raise Abort(reason) in 0.4.10
+ raise Abort
def error(self, reason="", type=""):
@@ -389,14 +389,14 @@ class Plugin(Base):
""" fail and indicate file is offline """
if reason:
self.pyfile.error = str(reason)
- raise Fail("offline") #@TODO: Use raise Fail("offline", reason) in 0.4.10
+ raise Fail("offline")
def tempOffline(self, reason=""):
""" fail and indicates file ist temporary offline, the core may take consequences """
if reason:
self.pyfile.error = str(reason)
- raise Fail("temp. offline") #@TODO: Use raise Fail("temp. offline", reason) in 0.4.10
+ raise Fail("temp. offline")
def retry(self, max_tries=5, wait_time=1, reason=""):