summaryrefslogtreecommitdiffstats
path: root/pyload/plugin/addon/SkipRev.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:15:41 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-26 18:15:41 +0100
commit181ab47c5f775b8b48569361da6b88a801784a30 (patch)
treef5f6d1d6b75b7f21b89b33733c3536e5ca80e087 /pyload/plugin/addon/SkipRev.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-181ab47c5f775b8b48569361da6b88a801784a30.tar.xz
Cleanup
Diffstat (limited to 'pyload/plugin/addon/SkipRev.py')
-rw-r--r--pyload/plugin/addon/SkipRev.py17
1 files changed, 5 insertions, 12 deletions
diff --git a/pyload/plugin/addon/SkipRev.py b/pyload/plugin/addon/SkipRev.py
index 157b55bbd..1c42ddfd8 100644
--- a/pyload/plugin/addon/SkipRev.py
+++ b/pyload/plugin/addon/SkipRev.py
@@ -6,14 +6,14 @@ from types import MethodType
from urllib import unquote
from urlparse import urlparse
-from module.PyFile import PyFile
-from module.plugins.Hook import Hook
-from module.plugins.Plugin import SkipDownload
+from pyload.datatype.File import PyFile
+from pyload.plugin.Addon import Addon
+from pyload.plugin.Plugin import SkipDownload
-class SkipRev(Hook):
+class SkipRev(Addon):
__name__ = "SkipRev"
- __type__ = "hook"
+ __type__ = "addon"
__version__ = "0.29"
__config__ = [("mode" , "Auto;Manual", "Choose recovery archives to skip" , "Auto"),
@@ -24,13 +24,6 @@ class SkipRev(Hook):
__authors__ = [("Walter Purcaro", "vuolter@gmail.com")]
- interval = 0 #@TODO: Remove in 0.4.10
-
-
- def setup(self):
- self.info = {} #@TODO: Remove in 0.4.10
-
-
@staticmethod
def _setup(self):
self.pyfile.plugin._setup()