summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/mail/incoming
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-05-24 14:25:19 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-05-24 14:59:55 +0200
commitcf610930f7a9b56b0378920bfdd4263f490b5cb3 (patch)
treec6afdc78a8d07fd5d32de6482ef186fa8436f74a /src/leap/bitmask/mail/incoming
parent37b25fd88400df8cc726470b5d897111f2373b96 (diff)
[tests] fix tests
Diffstat (limited to 'src/leap/bitmask/mail/incoming')
-rw-r--r--src/leap/bitmask/mail/incoming/service.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/leap/bitmask/mail/incoming/service.py b/src/leap/bitmask/mail/incoming/service.py
index 6a5d7fe3..00e7ee4f 100644
--- a/src/leap/bitmask/mail/incoming/service.py
+++ b/src/leap/bitmask/mail/incoming/service.py
@@ -44,7 +44,7 @@ from leap.common.mail import get_email_charset
from leap.bitmask.keymanager import errors as keymanager_errors
from leap.bitmask.mail.adaptors import soledad_indexes as fields
from leap.bitmask.mail.generator import Generator
-from leap.bitmask.mail.utils import json_loads, empty
+from leap.bitmask.mail.utils import json_loads
from leap.soledad.client import Soledad
from leap.soledad.common.crypto import ENC_SCHEME_KEY, ENC_JSON_KEY
from leap.soledad.common.errors import InvalidAuthTokenError
@@ -832,9 +832,6 @@ class IncomingMail(Service):
def msgSavedCallback(result):
- #if empty(result):
- #return
-
def signal_deleted(doc_id):
emit_async(catalog.MAIL_MSG_DELETED_INCOMING,
self._userid)