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/widgets/thread.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/widgets/thread.py')
-rw-r--r-- | alot/widgets/thread.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 44424992..29d5d7fe 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -4,16 +4,16 @@ """ Widgets specific to thread mode """ -import urwid import logging - -from alot.settings import settings -from alot.db.utils import decode_header, X_SIGNATURE_MESSAGE_HEADER -from alot.helper import tag_cmp -from alot.widgets.globals import TagWidget -from alot.widgets.globals import AttachmentWidget +import urwid from urwidtrees import Tree, SimpleTree, CollapsibleTree -from alot.db.utils import extract_body + +from .globals import TagWidget +from .globals import AttachmentWidget +from ..settings import settings +from ..db.utils import decode_header, X_SIGNATURE_MESSAGE_HEADER +from ..db.utils import extract_body +from ..helper import tag_cmp class MessageSummaryWidget(urwid.WidgetWrap): |