diff options
author | Lucas Hoffmann <lucc@users.noreply.github.com> | 2017-01-21 09:01:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-21 09:01:18 +0100 |
commit | 22af804982ea4148b30ace73f44c672db4a83b05 (patch) | |
tree | 9a211ce4b711fa21d6ff092cdbed3f29c6e1bd7a /alot/widgets | |
parent | e7cf3fe183cab1b6885124f7a1fc2fbfad274d29 (diff) | |
parent | 1808e4963e7da1b18319fdca44866dc2a71c62a0 (diff) |
Merge pull request #984 from lucc/future/absolute-imports
Use absolute_imports from __future__
Diffstat (limited to 'alot/widgets')
-rw-r--r-- | alot/widgets/bufferlist.py | 2 | ||||
-rw-r--r-- | alot/widgets/globals.py | 2 | ||||
-rw-r--r-- | alot/widgets/search.py | 2 | ||||
-rw-r--r-- | alot/widgets/thread.py | 2 | ||||
-rw-r--r-- | alot/widgets/utils.py | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/alot/widgets/bufferlist.py b/alot/widgets/bufferlist.py index 0ab315c5..4f9187be 100644 --- a/alot/widgets/bufferlist.py +++ b/alot/widgets/bufferlist.py @@ -5,6 +5,8 @@ """ Widgets specific to Bufferlist mode """ +from __future__ import absolute_import + import urwid diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py index 5c3c1ac7..822d0ae9 100644 --- a/alot/widgets/globals.py +++ b/alot/widgets/globals.py @@ -5,6 +5,8 @@ """ This contains alot-specific :class:`urwid.Widget` used in more than one mode. """ +from __future__ import absolute_import + import re import operator import urwid diff --git a/alot/widgets/search.py b/alot/widgets/search.py index d960e919..a0f23b5e 100644 --- a/alot/widgets/search.py +++ b/alot/widgets/search.py @@ -4,6 +4,8 @@ """ Widgets specific to search mode """ +from __future__ import absolute_import + import urwid from ..settings import settings diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py index 4d2d9b6c..0568cb94 100644 --- a/alot/widgets/thread.py +++ b/alot/widgets/thread.py @@ -4,6 +4,8 @@ """ Widgets specific to thread mode """ +from __future__ import absolute_import + import logging import urwid from urwidtrees import Tree, SimpleTree, CollapsibleTree diff --git a/alot/widgets/utils.py b/alot/widgets/utils.py index 15a2c60b..86eb49b7 100644 --- a/alot/widgets/utils.py +++ b/alot/widgets/utils.py @@ -5,6 +5,8 @@ """ Utility Widgets not specific to alot """ +from __future__ import absolute_import + import urwid |