diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-11-11 12:39:43 -0300 |
---|---|---|
committer | Victor Shyba <victor.shyba@gmail.com> | 2015-11-11 12:39:43 -0300 |
commit | 67983902a6a35c5c6de531ba10214c5ef4ac33c9 (patch) | |
tree | bbaa62b32d98b96d1199639c5d6467d5b8b17a04 /service/pixelated/adapter | |
parent | e6c846918071d210a7769f378c4691e4f28997d8 (diff) |
remove commented code
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/services/draft_service.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/service/pixelated/adapter/services/draft_service.py b/service/pixelated/adapter/services/draft_service.py index 65794f04..d8e0f6dd 100644 --- a/service/pixelated/adapter/services/draft_service.py +++ b/service/pixelated/adapter/services/draft_service.py @@ -27,8 +27,6 @@ class DraftService(object): def create_draft(self, input_mail): mail = yield self._mail_store.add_mail('DRAFTS', input_mail.raw) defer.returnValue(mail) - # pixelated_mail = yield (yield self._mailboxes.drafts).add(input_mail) - # defer.returnValue(pixelated_mail) @defer.inlineCallbacks def update_draft(self, ident, input_mail): @@ -42,7 +40,3 @@ class DraftService(object): if errorMessage == 'Need to create doc before deleting': yield self._mail_store.delete_mail(new_draft.ident) raise DuplicatedDraftException(errorMessage) - - # pixelated_mail = yield self.create_draft(input_mail) - # yield (yield self._mailboxes.drafts).remove(ident) - # defer.returnValue(pixelated_mail) |