summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 17:11:19 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 17:23:45 +0200
commit52820fcd227d9e661398cf1d179f7773960c6a6e (patch)
treec0a2300435720924dbf0cb56f3cffc79c10c12e2
parentFixed PEP8 violations (diff)
downloadpyload-52820fcd227d9e661398cf1d179f7773960c6a6e.tar.xz
Fixed PEP8 violations
(cherry picked from commit b63b9f10b588a5d643898c1ccdb29b0288bac62d) Conflicts: module/plugins/internal/MultiHoster.py
-rw-r--r--pyload/plugins/internal/AbstractExtractor.py1
-rw-r--r--pyload/plugins/internal/DeadHoster.py1
-rw-r--r--pyload/plugins/internal/UnRar.py4
3 files changed, 4 insertions, 2 deletions
diff --git a/pyload/plugins/internal/AbstractExtractor.py b/pyload/plugins/internal/AbstractExtractor.py
index fd9c9f91b..7bbec6bdd 100644
--- a/pyload/plugins/internal/AbstractExtractor.py
+++ b/pyload/plugins/internal/AbstractExtractor.py
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
+
class ArchiveError(Exception):
pass
diff --git a/pyload/plugins/internal/DeadHoster.py b/pyload/plugins/internal/DeadHoster.py
index 20088daa8..201835e2b 100644
--- a/pyload/plugins/internal/DeadHoster.py
+++ b/pyload/plugins/internal/DeadHoster.py
@@ -2,6 +2,7 @@
from module.plugins.Hoster import Hoster as _Hoster
+
def create_getInfo(plugin):
def getInfo(urls):
yield [('#N/A: ' + url, 0, 1, url) for url in urls]
diff --git a/pyload/plugins/internal/UnRar.py b/pyload/plugins/internal/UnRar.py
index c088c147d..8a39e920b 100644
--- a/pyload/plugins/internal/UnRar.py
+++ b/pyload/plugins/internal/UnRar.py
@@ -93,12 +93,12 @@ class UnRar(AbtractExtractor):
# output only used to check if passworded files are present
if self.re_version.search(out):
- for attr, size, name in self.re_filelist5.findall(out):
+ for attr, size, name in self.re_filelist5.findall(out):
if attr.startswith("*"):
self.passwordProtected = True
return True
else:
- for name, size, packed in self.re_filelist.findall(out):
+ for name, size, packed in self.re_filelist.findall(out):
if name.startswith("*"):
self.passwordProtected = True
return True