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/globals.py | |
parent | 752860cf24fc22208d7e9138d0a13ea5d616b4ca (diff) |
Cosmetics, clean up imports
Diffstat (limited to 'alot/commands/globals.py')
-rw-r--r-- | alot/commands/globals.py | 43 |
1 files changed, 22 insertions, 21 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index 5304b32d..76ecc1f4 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -2,38 +2,39 @@ # 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 code import email import email.utils import glob +from io import BytesIO import logging import os -import subprocess -from io import BytesIO -import asyncio import shlex +import subprocess import urwid -from . import Command, registerCommand -from . import CommandCanceled -from .utils import update_keys -from .. import commands - -from .. import buffers -from .. import helper -from ..helper import split_commandstring -from ..completion.commandline import CommandLineCompleter -from ..completion.contacts import ContactsCompleter -from ..completion.accounts import AccountCompleter -from ..completion.tags import TagsCompleter -from ..db.sort import NAME as SORT_NAME -from ..widgets.utils import DialogBox -from ..mail.envelope import Envelope -from ..settings.const import settings -from ..settings.errors import ConfigError, NoMatchingAccount -from ..utils import argparse as cargparse +from . import Command, registerCommand +from . import CommandCanceled +from .utils import update_keys +from .. import commands + +from .. import buffers +from .. import helper +from ..completion.accounts import AccountCompleter +from ..completion.commandline import CommandLineCompleter +from ..completion.contacts import ContactsCompleter +from ..completion.tags import TagsCompleter +from ..db.sort import NAME as SORT_NAME +from ..helper import split_commandstring +from ..mail.envelope import Envelope +from ..settings.const import settings +from ..settings.errors import ConfigError, NoMatchingAccount +from ..utils import argparse as cargparse +from ..widgets.utils import DialogBox MODE = 'global' |