diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2016-07-14 14:18:48 +0200 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2016-12-09 11:26:19 +0100 |
commit | fe748a7f47fb61d46dd88c270c2329e6ff19a895 (patch) | |
tree | 66bb5dc3145ef621db21e6505d91591e6b414d0f /alot/commands/search.py | |
parent | d89bbe11537abfceb3d0c7b62b9325fceaf51e32 (diff) |
Clean up imports
- use relative imports if possible
- group imports into standard library, third party, and alot modules
- sort imports alphabetically
Diffstat (limited to 'alot/commands/search.py')
-rw-r--r-- | alot/commands/search.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/alot/commands/search.py b/alot/commands/search.py index 7a2184ae..b79ce831 100644 --- a/alot/commands/search.py +++ b/alot/commands/search.py @@ -4,13 +4,13 @@ import argparse import logging -from alot.commands import Command, registerCommand -from alot.commands.globals import PromptCommand -from alot.commands.globals import MoveCommand +from . import Command, registerCommand +from .globals import PromptCommand +from .globals import MoveCommand +from .. import commands -from alot.db.errors import DatabaseROError -from alot import commands -from alot import buffers +from .. import buffers +from ..db.errors import DatabaseROError MODE = 'search' |