diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-07 16:10:37 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-05-07 16:11:51 +0200 |
commit | f0a1df3075923f976017bc299383533f5c04292d (patch) | |
tree | cdc634b0d279e5ac02eebac67f82dc59bf482f85 /src/leap | |
parent | 5e9f1dd4e0f38931155339ab8389d500004f0fde (diff) |
[refactor] rename pixelated module
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/core/mail_services.py | 6 | ||||
-rw-r--r-- | src/leap/bitmask/mua/__init__.py | 0 | ||||
-rw-r--r-- | src/leap/bitmask/mua/pixelizer.py (renamed from src/leap/bitmask/pix.py) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/core/mail_services.py b/src/leap/bitmask/core/mail_services.py index f390203..abd2f98 100644 --- a/src/leap/bitmask/core/mail_services.py +++ b/src/leap/bitmask/core/mail_services.py @@ -35,7 +35,7 @@ from twisted.logger import Logger from leap.common.events import catalog, emit_async from leap.common.files import check_and_fix_urw_only -from leap.bitmask import pix +from leap.bitmask.mua import pixelizer from leap.bitmask.hooks import HookableService from leap.bitmask.bonafide import config from leap.bitmask.keymanager import KeyManager @@ -642,9 +642,9 @@ class StandardMailService(service.MultiService, HookableService): json.dump(token_dict, ftokens) def _maybe_start_pixelated(self, passthrough, userid, soledad, keymanager): - if pix.HAS_PIXELATED: + if pixelizer.HAS_PIXELATED: reactor.callFromThread( - pix.start_pixelated_user_agent, + pixelizer.start_pixelated_user_agent, userid, soledad, keymanager) return passthrough diff --git a/src/leap/bitmask/mua/__init__.py b/src/leap/bitmask/mua/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/leap/bitmask/mua/__init__.py diff --git a/src/leap/bitmask/pix.py b/src/leap/bitmask/mua/pixelizer.py index ed69afb..ed69afb 100644 --- a/src/leap/bitmask/pix.py +++ b/src/leap/bitmask/mua/pixelizer.py |