diff options
author | Kali Kaneko <kali@leap.se> | 2016-03-09 22:34:10 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-19 10:00:20 -0400 |
commit | 9130d203bf15629c51dcc90bce83a8cd730900c4 (patch) | |
tree | 519eb5b1327bb42566996ac7163343a6024f76ad /src/leap/bitmask | |
parent | c8de65eab85a8fd0a416dbcc3282f5fc105a5716 (diff) |
[refactor] use latest implementation of service_hooks
Diffstat (limited to 'src/leap/bitmask')
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index ba428258..a0be1211 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -135,9 +135,7 @@ def is_service_ready(service, provider): return has_service and has_config and is_enabled -class SoledadService(service.Service, HookableService): - - subscribed_to_hooks = ('on_bonafide_auth', 'on_passphrase_entry') +class SoledadService(HookableService): def __init__(self, basedir): service.Service.__init__(self) @@ -286,9 +284,7 @@ class KeymanagerContainer(Container): provider=provider) -class KeymanagerService(service.Service, HookableService): - - subscribed_to_hooks = ('on_new_soledad_instance', 'on_bonafide_auth') +class KeymanagerService(HookableService): def __init__(self, basedir='~/.config/leap'): service.Service.__init__(self) |