summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/Plugin.py
diff options
context:
space:
mode:
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=""):