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/commands/thread.py | |
parent | 752860cf24fc22208d7e9138d0a13ea5d616b4ca (diff) |
Cosmetics, clean up imports
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 44 |
1 files changed, 23 insertions, 21 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 0ff38b55..79e63167 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -2,39 +2,41 @@ # Copyright © 2018 Dylan Baker # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file + import argparse import asyncio +import email +import email.policy +from email.utils import getaddresses, parseaddr +from email.message import Message import logging import mailcap import os import subprocess import tempfile -import email -import email.policy -from email.utils import getaddresses, parseaddr -from email.message import Message import urwid -from urwid.util import detected_encoding +from urwid.util import detected_encoding from io import BytesIO -from . import Command, registerCommand -from .globals import ComposeCommand -from .globals import MoveCommand -from .globals import CommandCanceled -from .common import RetagPromptCommand -from .envelope import SendCommand -from ..completion.contacts import ContactsCompleter -from ..completion.path import PathCompleter -from ..mail.attachment import Attachment -from ..mail.envelope import Envelope -from ..db.errors import DatabaseROError -from ..settings.const import settings -from ..helper import formataddr -from ..helper import split_commandstring -from ..utils import argparse as cargparse -from ..utils.mailcap import MailcapHandler +from . import Command, registerCommand +from .common import RetagPromptCommand +from .envelope import SendCommand +from .globals import ComposeCommand +from .globals import MoveCommand +from .globals import CommandCanceled + +from ..completion.contacts import ContactsCompleter +from ..completion.path import PathCompleter +from ..db.errors import DatabaseROError +from ..helper import formataddr +from ..helper import split_commandstring +from ..mail.attachment import Attachment +from ..mail.envelope import Envelope +from ..settings.const import settings +from ..utils import argparse as cargparse +from ..utils.mailcap import MailcapHandler MODE = 'thread' |