diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-11 08:33:28 -0200 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-12-11 08:33:28 -0200 |
commit | 766c4838fdabb50b6aa9a2594f091ec43750f691 (patch) | |
tree | 901dbe5e02cad55a9971445d24f81465b1305c07 /service/pixelated/adapter | |
parent | 7de1975fd3533ed3b2d5c46cddbaae65eac57175 (diff) |
optmizing python imports
Diffstat (limited to 'service/pixelated/adapter')
-rw-r--r-- | service/pixelated/adapter/mail.py | 2 | ||||
-rw-r--r-- | service/pixelated/adapter/mail_sender.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/mail.py b/service/pixelated/adapter/mail.py index 96fd8038..25e86cf3 100644 --- a/service/pixelated/adapter/mail.py +++ b/service/pixelated/adapter/mail.py @@ -15,6 +15,7 @@ # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. import json from uuid import uuid4 +from email.mime.text import MIMEText from leap.mail.imap.fields import fields import leap.mail.walk as walk @@ -22,7 +23,6 @@ import dateutil.parser as dateparser from pixelated.adapter.status import Status import pixelated.support.date from email.MIMEMultipart import MIMEMultipart -from email.mime.text import MIMEText from pycryptopp.hash import sha256 import re diff --git a/service/pixelated/adapter/mail_sender.py b/service/pixelated/adapter/mail_sender.py index 6fad2b6f..50c17ba5 100644 --- a/service/pixelated/adapter/mail_sender.py +++ b/service/pixelated/adapter/mail_sender.py @@ -14,9 +14,9 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. from StringIO import StringIO + from twisted.internet.defer import Deferred from twisted.mail.smtp import SMTPSenderFactory - from twisted.internet import reactor from pixelated.support.functional import flatten |