diff options
author | Jefferson Stachelski <jstachel@thoughtworks.com> | 2016-02-04 23:43:09 -0200 |
---|---|---|
committer | Jefferson Stachelski <jstachel@thoughtworks.com> | 2016-02-04 23:54:15 -0200 |
commit | 92f0e9887a216e0ec82355941655d3deebf2d422 (patch) | |
tree | 8b8e2deac6b199f623ae4db758dd029d4de98397 /service/pixelated/adapter/services | |
parent | 0e443ce40e684c095285efb774fefe3a824413d7 (diff) |
Issue #549 - Implemented remove attachment in server side
Diffstat (limited to 'service/pixelated/adapter/services')
-rw-r--r-- | service/pixelated/adapter/services/mail_service.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py index 5ec3a298..d2506dcf 100644 --- a/service/pixelated/adapter/services/mail_service.py +++ b/service/pixelated/adapter/services/mail_service.py @@ -152,6 +152,5 @@ class MailService(object): def delete_permanent(self, mail_id): yield self.mail_store.delete_mail(mail_id) - @defer.inlineCallbacks def delete_attachment(self, attachment_id): - yield self.attachment_store.delete_attachment(attachment_id) + return self.attachment_store.delete_attachment(attachment_id) |