diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-02-10 14:10:42 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-02-10 15:17:25 +0100 |
commit | 666aab1a3fcd5f33659f67540d23b96fa8fa2f98 (patch) | |
tree | d6a047e2c0b34b45e3075d022012157a500d805f /alot/settings/manager.py | |
parent | 752860cf24fc22208d7e9138d0a13ea5d616b4ca (diff) |
Cosmetics, clean up imports
Diffstat (limited to 'alot/settings/manager.py')
-rw-r--r-- | alot/settings/manager.py | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py index badda2af..1be5a0cc 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -2,28 +2,27 @@ # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file -from datetime import datetime, timedelta - +from datetime import datetime, timedelta +import email import importlib.util import itertools import logging import mailcap import os import re -import email -from configobj import ConfigObj, Section -from ..account import SendmailAccount -from ..addressbook.abook import AbookAddressBook -from ..addressbook.external import ExternalAddressbook -from ..helper import get_xdg_env -from ..utils import configobj as checks +from configobj import ConfigObj, Section -from .errors import ConfigError, NoMatchingAccount -from .utils import read_config -from .utils import resolve_att -from .theme import Theme +from .errors import ConfigError, NoMatchingAccount +from .utils import read_config +from .utils import resolve_att +from .theme import Theme +from ..account import SendmailAccount +from ..addressbook.abook import AbookAddressBook +from ..addressbook.external import ExternalAddressbook +from ..helper import get_xdg_env +from ..utils import configobj as checks DEFAULTSPATH = os.path.join(os.path.dirname(__file__), '..', 'defaults') DATA_DIRS = get_xdg_env('XDG_DATA_DIRS', |