diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-11 15:11:40 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-11 15:11:40 +0000 |
commit | e4be928b7994fd4b3d91aed2eef648799c027e48 (patch) | |
tree | 73487d38c476a48d6f5bd67d7c2884958363f9cf /alot/account.py | |
parent | 827345c319b6cb9dd831f3cf0b2bebbbaed0e630 (diff) |
cleanup: imports in account.py
Diffstat (limited to 'alot/account.py')
-rw-r--r-- | alot/account.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/alot/account.py b/alot/account.py index d8373580..28dd86ec 100644 --- a/alot/account.py +++ b/alot/account.py @@ -1,14 +1,12 @@ import mailbox import logging import time -import re import email import os import glob import shlex -from alot.settings.utils import read_config - +from alot.helper import call_cmd_async class SendingMailFailed(RuntimeError): pass @@ -162,7 +160,7 @@ class SendmailAccount(Account): logging.error(failure.value.stderr) raise SendingMailFailed(errmsg) - d = helper.call_cmd_async(cmdlist, stdin=mail.as_string()) + d = call_cmd_async(cmdlist, stdin=mail.as_string()) d.addCallback(cb) d.addErrback(errb) return d |