diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-16 17:09:56 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-16 17:09:56 +0200 |
commit | fe64834944a0df5a03b2c33be3814ed42550279e (patch) | |
tree | 90fe0716cd2eee091f97372c9a8bbf9f11ebb7c2 /module/plugins/hooks/SkipRev.py | |
parent | Merge pull request #1514 from TWD/patch-5 (diff) | |
parent | fix #1507 (diff) | |
download | pyload-fe64834944a0df5a03b2c33be3814ed42550279e.tar.xz |
Merge pull request #1508 from GammaC0de/patch-1
fix #1507
Diffstat (limited to 'module/plugins/hooks/SkipRev.py')
-rw-r--r-- | module/plugins/hooks/SkipRev.py | 6 |
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): |