diff options
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' |