summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/hooks.py
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-10-07 10:21:50 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-07 10:22:41 -0400
commit744b1c083ebe412e92daa1de459d807db226f6fc (patch)
tree060041f6f874dcdbbdbfc2c598cdcf15ef981e1b /src/leap/bitmask/hooks.py
parentf031bcdd91a7162efd8f236e28c3da3499f78bec (diff)
[style] pep8
Diffstat (limited to 'src/leap/bitmask/hooks.py')
-rw-r--r--src/leap/bitmask/hooks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/bitmask/hooks.py b/src/leap/bitmask/hooks.py
index 7d9825e..79edf6c 100644
--- a/src/leap/bitmask/hooks.py
+++ b/src/leap/bitmask/hooks.py
@@ -54,8 +54,9 @@ class HookableService(Service):
getattr(listener, 'hook_' + name)(**kw)
except AttributeError as exc:
raise RuntimeError(
- "Tried to notify a hook, but the listener service class %s "
- "has not defined the proper method %s" %
+ "Tried to notify a hook, but the listener "
+ "service class %s has not defined the "
+ "proper method %s" %
(listener.__class__, 'hook_' + name))
if not hasattr(self, 'event_listeners'):