summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Hook.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-17 18:59:20 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-06-24 22:42:40 +0200
commit20b6a2ec022202b0efb6cb69415239fb8f4d1445 (patch)
treefdbb3ad42854144b1cace0221145a472b36ef84d /module/plugins/internal/Hook.py
parentSpare code cosmetics (diff)
downloadpyload-20b6a2ec022202b0efb6cb69415239fb8f4d1445.tar.xz
Spare code cosmetics (2)
Diffstat (limited to 'module/plugins/internal/Hook.py')
-rw-r--r--module/plugins/internal/Hook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/internal/Hook.py b/module/plugins/internal/Hook.py
index 3a0431feb..5959089b5 100644
--- a/module/plugins/internal/Hook.py
+++ b/module/plugins/internal/Hook.py
@@ -46,7 +46,7 @@ class Hook(Plugin):
#: automatically register event listeners for functions, attribute will be deleted dont use it yourself
self.event_map = {}
- # Deprecated alternative to event_map
+ #: Deprecated alternative to event_map
#: List of events the plugin can handle, name the functions exactly like eventname.
self.event_list = [] #@NOTE: dont make duplicate entries in event_map
@@ -68,7 +68,7 @@ class Hook(Plugin):
else:
self.manager.addEvent(event, getattr(self, funcs))
- # delete for various reasons
+ #: delete for various reasons
self.event_map = None
if self.event_list: