diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-10-19 15:21:55 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-10-19 15:21:55 +0200 |
commit | 4583319c3cd889e85661b937e20c5af6d2688e10 (patch) | |
tree | 5445719e79f90e65719e6450b95bc9574ad46c04 /service/pixelated/adapter | |
parent | 0bf81341f33ac415d48c0b012fb66c8f7df45f57 (diff) |
Remove debug output
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/mailstore/leap_mailstore.py | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/service/pixelated/adapter/mailstore/leap_mailstore.py b/service/pixelated/adapter/mailstore/leap_mailstore.py index ec8407a7..2754c624 100644 --- a/service/pixelated/adapter/mailstore/leap_mailstore.py +++ b/service/pixelated/adapter/mailstore/leap_mailstore.py @@ -212,18 +212,13 @@ class LeapMailStore(MailStore): @defer.inlineCallbacks def get_mail(self, mail_id, include_body=False): - try: - message = yield self._fetch_msg_from_soledad(mail_id) - if not _is_empty_message(message): - leap_mail = yield self._leap_message_to_leap_mail(mail_id, message, include_body) - else: - leap_mail = None + message = yield self._fetch_msg_from_soledad(mail_id) + if not _is_empty_message(message): + leap_mail = yield self._leap_message_to_leap_mail(mail_id, message, include_body) + else: + leap_mail = None - defer.returnValue(leap_mail) - except AttributeError, e: - import traceback - traceback.print_exc() - defer.returnValue(None) + defer.returnValue(leap_mail) def get_mails(self, mail_ids): deferreds = [] |