diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-05 15:25:01 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-10-07 10:22:37 -0400 |
commit | d270b7f11e404a3904fa32ed581196a4fa4e8604 (patch) | |
tree | 01c3cd73bdcc732732bd373651b7f68fd508cae1 /src/leap/bitmask/core | |
parent | 99b53c1714d302d7f0884e03b5c102081c483504 (diff) |
[refactor] migrate hooks to bitmask repo
now we can deprecate service_hooks in leap.common repo
Diffstat (limited to 'src/leap/bitmask/core')
-rw-r--r-- | src/leap/bitmask/core/dummy.py | 2 | ||||
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/dummy.py b/src/leap/bitmask/core/dummy.py index 64ae2b64..455756c4 100644 --- a/src/leap/bitmask/core/dummy.py +++ b/src/leap/bitmask/core/dummy.py @@ -19,7 +19,7 @@ An authoritative dummy backend for tests. """ import json -from leap.common.service_hooks import HookableService +from leap.bitmask.hooks import HookableService class BackendCommands(object): diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index bd7f5579..564f4325 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -33,9 +33,8 @@ from twisted.internet import reactor from twisted.internet import task from twisted.logger import Logger -# TODO move to bitmask.common -from leap.common.service_hooks import HookableService from leap.common.files import check_and_fix_urw_only +from leap.bitmask.hooks import HookableService from leap.bitmask.bonafide import config from leap.bitmask.keymanager import KeyManager from leap.bitmask.keymanager.errors import KeyNotFound |