From c21a6ddf277514c62a89cbd9214ec4fc905b4988 Mon Sep 17 00:00:00 2001 From: Giovane Date: Thu, 19 Nov 2015 16:20:52 -0200 Subject: Move 'From' initialization to InputMail factory. w/ @bwagner #531 --- service/pixelated/adapter/mailstore/leap_mailstore.py | 1 - 1 file changed, 1 deletion(-) (limited to 'service/pixelated/adapter/mailstore/leap_mailstore.py') diff --git a/service/pixelated/adapter/mailstore/leap_mailstore.py b/service/pixelated/adapter/mailstore/leap_mailstore.py index 21c85b74..42e065ac 100644 --- a/service/pixelated/adapter/mailstore/leap_mailstore.py +++ b/service/pixelated/adapter/mailstore/leap_mailstore.py @@ -337,7 +337,6 @@ class LeapMailStore(MailStore): # fetch mailbox name by mbox_uuid mbox_uuid = message.get_wrapper().fdoc.mbox_uuid mbox_name = yield self._mailbox_name_from_uuid(mbox_uuid) - mail = LeapMail(mail_id, mbox_name, message.get_wrapper().hdoc.headers, set(message.get_tags()), set(message.get_flags()), body=body, attachments=self._extract_attachment_info_from(message)) # TODO assert flags are passed on defer.returnValue(mail) -- cgit v1.2.3