summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-16 09:58:44 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-16 09:58:44 +0200
commit9e39f47b966f220671f70b946793672517c0a3ba (patch)
tree2917073db4131572cd6b7398503c082293a63fc8 /module/plugins/hooks
parentFix http://forum.pyload.org/viewtopic.php?f=10&t=4328 (diff)
downloadpyload-9e39f47b966f220671f70b946793672517c0a3ba.tar.xz
fix #1507
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/SkipRev.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/SkipRev.py b/module/plugins/hooks/SkipRev.py
index 9737ec9a9..da9f24883 100644
--- a/module/plugins/hooks/SkipRev.py
+++ b/module/plugins/hooks/SkipRev.py
@@ -8,13 +8,13 @@ from types import MethodType
from module.PyFile import PyFile
from module.plugins.internal.Hook import Hook
-from module.plugins.internal.Plugin import SkipDownload
+from module.plugins.internal.Plugin import Skip
class SkipRev(Hook):
__name__ = "SkipRev"
__type__ = "hook"
- __version__ = "0.30"
+ __version__ = "0.31"
__config__ = [("mode" , "Auto;Manual", "Choose recovery archives to skip" , "Auto"),
("revtokeep", "int" , "Number of recovery archives to keep for package", 0 )]
@@ -35,7 +35,7 @@ class SkipRev(Hook):
def _setup(self):
self.pyfile.plugin._setup()
if self.pyfile.hasStatus("skipped"):
- raise SkipDownload(self.pyfile.statusname or self.pyfile.pluginname)
+ raise Skip(self.pyfile.statusname or self.pyfile.pluginname)
def _name(self, pyfile):