diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-06-04 19:54:31 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-06-04 19:54:31 -0300 |
commit | 469118dc636680eab662af9cbecf62a42cda6d50 (patch) | |
tree | b32585b84ee6048cdaaabc82db5a4ecdca9de8d8 /service/pixelated/adapter/services | |
parent | 5e0fb0967dcf3a0742efebbaa0ef85a9e68a07c8 (diff) |
removing unnecessary extra query
Diffstat (limited to 'service/pixelated/adapter/services')
-rw-r--r-- | service/pixelated/adapter/services/mail_service.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/service/pixelated/adapter/services/mail_service.py b/service/pixelated/adapter/services/mail_service.py index 656bb4bc..e392bc44 100644 --- a/service/pixelated/adapter/services/mail_service.py +++ b/service/pixelated/adapter/services/mail_service.py @@ -98,7 +98,6 @@ class MailService(object): self.search_engine.index_mail(trashed_mail) def recover_mail(self, mail_id): - mail = self.mail(mail_id) recovered_mail = self.mailboxes.move_to_inbox(mail_id) self.search_engine.index_mail(recovered_mail) |