summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Hook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 01:09:59 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-28 01:09:59 +0200
commitecf37227de05c73b7ffe2da89a5eda1259a72543 (patch)
tree01936b0bd250d18a2939df73f71a30898740ff4b /module/plugins/internal/Hook.py
parentMissed to bump up some plugin __version__ (diff)
downloadpyload-ecf37227de05c73b7ffe2da89a5eda1259a72543.tar.xz
Improve _log method
Diffstat (limited to 'module/plugins/internal/Hook.py')
-rw-r--r--module/plugins/internal/Hook.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/module/plugins/internal/Hook.py b/module/plugins/internal/Hook.py
index fbd6934ce..3d8fb0dde 100644
--- a/module/plugins/internal/Hook.py
+++ b/module/plugins/internal/Hook.py
@@ -6,7 +6,7 @@ from module.plugins.internal.Addon import Addon
class Hook(Addon):
__name__ = "Hook"
__type__ = "hook"
- __version__ = "0.10"
+ __version__ = "0.11"
__status__ = "testing"
__config__ = [] #: [("name", "type", "desc", "default")]
@@ -21,3 +21,8 @@ class Hook(Addon):
def __init__(self, core, manager):
super(Hook, self).__init__(core, manager)
self.init_periodical(10)
+
+
+ #@TODO: Remove in 0.4.10
+ def _log(self, level, plugintype, pluginname, messages):
+ return super(self.__name__, self)._log(level, plugintype, pluginname.replace("Hook", ""), messages)