From cf610930f7a9b56b0378920bfdd4263f490b5cb3 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Wed, 24 May 2017 14:25:19 +0200 Subject: [tests] fix tests --- src/leap/bitmask/mail/incoming/service.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/leap/bitmask/mail') 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) -- cgit v1.2.3