summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 14:18:48 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:26:19 +0100
commitfe748a7f47fb61d46dd88c270c2329e6ff19a895 (patch)
tree66bb5dc3145ef621db21e6505d91591e6b414d0f /alot/ui.py
parentd89bbe11537abfceb3d0c7b62b9325fceaf51e32 (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.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 0bde8100..03aa7d92 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -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):