From 2edeee0532ec6d6b4b26fd045a5971f67ca455da Mon Sep 17 00:00:00 2001 From: Stefano Date: Mon, 22 Jul 2013 20:50:34 +0200 Subject: Fixed PEP 8 violations in Hosters --- module/plugins/hoster/FilejungleCom.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'module/plugins/hoster/FilejungleCom.py') diff --git a/module/plugins/hoster/FilejungleCom.py b/module/plugins/hoster/FilejungleCom.py index fd833eef2..0fb0b6150 100644 --- a/module/plugins/hoster/FilejungleCom.py +++ b/module/plugins/hoster/FilejungleCom.py @@ -19,6 +19,7 @@ from module.plugins.hoster.FileserveCom import FileserveCom, checkFile from module.plugins.Plugin import chunks + class FilejungleCom(FileserveCom): __name__ = "FilejungleCom" __type__ = "hoster" @@ -27,12 +28,15 @@ class FilejungleCom(FileserveCom): __description__ = """Filejungle.com plugin - free only""" __author_name__ = ("zoidberg") __author_mail__ = ("zoidberg@mujmail.cz") - - URLS = ['http://www.filejungle.com/f/', 'http://www.filejungle.com/check_links.php', 'http://www.filejungle.com/checkReCaptcha.php'] + + URLS = ['http://www.filejungle.com/f/', 'http://www.filejungle.com/check_links.php', + 'http://www.filejungle.com/checkReCaptcha.php'] LINKCHECK_TR = r'
  • \s*(
    .*?)
  • ' LINKCHECK_TD = r'
    (?:<[^>]*>| )*([^<]*)' - + LONG_WAIT_PATTERN = r'

    Please wait for (\d+) (\w+)\s*to download the next file\.

    ' -def getInfo(urls): - for chunk in chunks(urls, 100): yield checkFile(FilejungleCom, chunk) \ No newline at end of file + +def getInfo(urls): + for chunk in chunks(urls, 100): + yield checkFile(FilejungleCom, chunk) -- cgit v1.2.3