summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-07 16:10:37 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-05-07 16:11:51 +0200
commitf0a1df3075923f976017bc299383533f5c04292d (patch)
treecdc634b0d279e5ac02eebac67f82dc59bf482f85
parent5e9f1dd4e0f38931155339ab8389d500004f0fde (diff)
[refactor] rename pixelated module
-rw-r--r--src/leap/bitmask/core/mail_services.py6
-rw-r--r--src/leap/bitmask/mua/__init__.py0
-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 f3902031..abd2f980 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 00000000..e69de29b
--- /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 ed69afb2..ed69afb2 100644
--- a/src/leap/bitmask/pix.py
+++ b/src/leap/bitmask/mua/pixelizer.py