From a611ddfd1d8e4a85b2066cc45bc51682ac10a5f7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Tue, 2 Dec 2014 16:35:12 +0100 Subject: [SkipRev] Fixup 1 --- module/plugins/hooks/SkipRev.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/hooks/SkipRev.py b/module/plugins/hooks/SkipRev.py index 3b3b450fe..e9cfa2ec5 100644 --- a/module/plugins/hooks/SkipRev.py +++ b/module/plugins/hooks/SkipRev.py @@ -9,10 +9,10 @@ from module.plugins.Plugin import SkipDownload class SkipRev(Hook): __name__ = "SkipRev" __type__ = "hook" - __version__ = "0.08" + __version__ = "0.09" - __config__ = [("auto", "bool", "Automatically keep all rev files needed by package", True) - ("tokeep", "int" , "Min number of rev files to keep for package" , 1), + __config__ = [("auto", "bool", "Automatically keep all rev files needed by package", True), + ("tokeep", "int" , "Min number of rev files to keep for package" , 1), ("unskip", "bool", "Restart a skipped rev when download fails" , True)] __description__ = """Skip files ending with extension rev""" @@ -53,4 +53,4 @@ class SkipRev(Hook): for link in pyfile.package().getChildren(): if link.hasStatus("skipped") and REV.search(link.name): link.setCustomStatus("unskipped", "queued") - break + return -- cgit v1.2.3