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/ui.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/ui.py')
-rw-r--r-- | alot/ui.py | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,21 +1,21 @@ # Copyright (C) 2011-2012 Patrick Totzke <patricktotzke@gmail.com> # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file -import urwid import logging import signal from twisted.internet import reactor, defer +import urwid -from settings import settings -from buffers import BufferlistBuffer, SearchBuffer -from commands import globals -from commands import commandfactory -from commands import CommandCanceled -from alot.commands import CommandParseError -from alot.helper import split_commandline -from alot.helper import string_decode -from alot.widgets.globals import CompleteEdit -from alot.widgets.globals import ChoiceWidget +from .settings import settings +from .buffers import BufferlistBuffer, SearchBuffer +from .commands import globals +from .commands import commandfactory +from .commands import CommandCanceled +from .commands import CommandParseError +from .helper import split_commandline +from .helper import string_decode +from .widgets.globals import CompleteEdit +from .widgets.globals import ChoiceWidget class UI(object): |