summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 17:07:06 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-18 17:07:06 +0200
commit71d58aa484ab332cad1eda29edf2df7bfc4e2e91 (patch)
tree021336201f835a5d5f1bda2aad976041c961363d
parentBayfiles: relogin requires user argument (diff)
downloadpyload-71d58aa484ab332cad1eda29edf2df7bfc4e2e91.tar.xz
Fixed PEP8 violations
-rw-r--r--module/plugins/hooks/ExternalScripts.py2
-rw-r--r--module/plugins/hooks/FreeWayMe.py1
-rw-r--r--module/plugins/hooks/RestartFailed.py2
-rw-r--r--module/plugins/hooks/WindowsPhoneToastNotify.py4
4 files changed, 6 insertions, 3 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index efd28ab17..3d84dcc3d 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -51,7 +51,7 @@ class ExternalScripts(Hook):
for script_type, names in self.scripts.iteritems():
if names:
- self.logInfo((_("Installed scripts for %s: ") % script_type ) + ", ".join([basename(x) for x in names]))
+ self.logInfo((_("Installed scripts for %s: ") % script_type) + ", ".join([basename(x) for x in names]))
def initPluginType(self, folder, path):
if not exists(path):
diff --git a/module/plugins/hooks/FreeWayMe.py b/module/plugins/hooks/FreeWayMe.py
index 63231a893..7d4bcc852 100644
--- a/module/plugins/hooks/FreeWayMe.py
+++ b/module/plugins/hooks/FreeWayMe.py
@@ -20,6 +20,7 @@
from module.network.RequestFactory import getURL
from module.plugins.internal.MultiHoster import MultiHoster
+
class FreeWayMe(MultiHoster):
__name__ = "FreeWayMe"
__version__ = "0.11"
diff --git a/module/plugins/hooks/RestartFailed.py b/module/plugins/hooks/RestartFailed.py
index d3895634b..85553d738 100644
--- a/module/plugins/hooks/RestartFailed.py
+++ b/module/plugins/hooks/RestartFailed.py
@@ -31,7 +31,7 @@ class RestartFailed(Hook):
event_list = ["pluginConfigChanged"]
- MIN_INTERVAL = 15 * 60 #seconds
+ MIN_INTERVAL = 15 * 60 # seconds
def periodical(self):
self.logDebug("Restart all failed downloads now")
diff --git a/module/plugins/hooks/WindowsPhoneToastNotify.py b/module/plugins/hooks/WindowsPhoneToastNotify.py
index 538ded715..7c005fcbb 100644
--- a/module/plugins/hooks/WindowsPhoneToastNotify.py
+++ b/module/plugins/hooks/WindowsPhoneToastNotify.py
@@ -16,9 +16,11 @@
@author: RaNaN, Godofdream, zoidberg
"""
-import time, httplib
+import time
+import httplib
from module.plugins.Hook import Hook
+
class WindowsPhoneToastNotify(Hook):
__name__ = "WindowsPhoneToastNotify"
__version__ = "0.02"