From 5b1bea0c8813206a7f17119c1c82eafc8e727bbb Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Tue, 2 Feb 2016 18:10:26 +0100 Subject: [bug] Use the right succeed function for passthrough encrypted email - Resolves #7861 --- mail/src/leap/mail/outgoing/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/src/leap') diff --git a/mail/src/leap/mail/outgoing/service.py b/mail/src/leap/mail/outgoing/service.py index 8d7c0f8f..8e06bd40 100644 --- a/mail/src/leap/mail/outgoing/service.py +++ b/mail/src/leap/mail/outgoing/service.py @@ -254,7 +254,7 @@ class OutgoingMail(object): origmsg = Parser().parsestr(raw) if origmsg.get_content_type() == 'multipart/encrypted': - return defer.success((origmsg, recipient)) + return defer.succeed((origmsg, recipient)) from_address = validate_address(self._from_address) username, domain = from_address.split('@') -- cgit v1.2.3