diff options
author | Patrick Maia and Victor Shyba <pixelated-team+pmaia+vshyba@thoughtworks.com> | 2014-09-04 20:07:34 +0000 |
---|---|---|
committer | Patrick Maia <pmaia@thoughtworks.com> | 2014-09-04 20:07:34 +0000 |
commit | 165bd68065ea2ba698ec690dd057a474a4d860ae (patch) | |
tree | 8b8ca037367673af97cbb9550f0002deaa133b5d | |
parent | 96d1aa660bb927282ff7439cab411fb5cae6d5c0 (diff) |
#6 - fixes bug: PixelatedMail.update_tags is not returning old tags by now
-rw-r--r-- | service/pixelated/adapter/mail_service.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/pixelated/adapter/mail_service.py b/service/pixelated/adapter/mail_service.py index bc87d37b..3cbbe90e 100644 --- a/service/pixelated/adapter/mail_service.py +++ b/service/pixelated/adapter/mail_service.py @@ -42,7 +42,7 @@ class MailService: def update_tags(self, mail_id, new_tags): mail = self.mail(mail_id) tags = set(Tag(str_tag) for str_tag in new_tags) - current_tags, removed_tags = mail.update_tags(tags) + current_tags = mail.update_tags(tags) self._update_mailbox_tags(tags) return current_tags |