diff options
author | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-18 19:14:55 -0300 |
---|---|---|
committer | Bruno Wagner Goncalves <bwagner@thoughtworks.com> | 2014-08-18 19:15:05 -0300 |
commit | 2c6fe6e4cca9c39287c0c9a88079a60078711e97 (patch) | |
tree | 9cd73392e3fc5646dca87bbefc758c9c975f4558 /service/app/adapter | |
parent | 3cc37ad518706c7abe61d3d3cd7b91798901cc5b (diff) |
Fixed pep8 errors on service
Diffstat (limited to 'service/app/adapter')
-rw-r--r-- | service/app/adapter/__init__.py | 1 | ||||
-rw-r--r-- | service/app/adapter/mail_service.py | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/service/app/adapter/__init__.py b/service/app/adapter/__init__.py index 8b137891..e69de29b 100644 --- a/service/app/adapter/__init__.py +++ b/service/app/adapter/__init__.py @@ -1 +0,0 @@ - diff --git a/service/app/adapter/mail_service.py b/service/app/adapter/mail_service.py index c8cf5e74..1d6710af 100644 --- a/service/app/adapter/mail_service.py +++ b/service/app/adapter/mail_service.py @@ -31,7 +31,6 @@ class MailService: self.leap_session = LeapSessionFactory(self.provider).create(LeapCredentials(self.username, self.password)) self.account = self.leap_session.account self.mailbox = self.account.getMailbox(self.mailbox_name) - def mails(self, query): mails = self.mailbox.messages or [] @@ -50,7 +49,7 @@ class MailService: self.tags.add(tag) def _update_flags(self, new_tags, mail_id): - new_tags_flag_name = ['tag_'+tag.name for tag in new_tags] + new_tags_flag_name = ['tag_' + tag.name for tag in new_tags] self.set_flags(mail_id, new_tags_flag_name) def set_flags(self, mail_id, new_tags_flag_name): |