diff options
Diffstat (limited to 'alot/buffers')
-rw-r--r-- | alot/buffers/bufferlist.py | 8 | ||||
-rw-r--r-- | alot/buffers/envelope.py | 12 | ||||
-rw-r--r-- | alot/buffers/namedqueries.py | 5 | ||||
-rw-r--r-- | alot/buffers/search.py | 6 | ||||
-rw-r--r-- | alot/buffers/taglist.py | 7 | ||||
-rw-r--r-- | alot/buffers/thread.py | 10 |
6 files changed, 26 insertions, 22 deletions
diff --git a/alot/buffers/bufferlist.py b/alot/buffers/bufferlist.py index 185b4660..b1dfaded 100644 --- a/alot/buffers/bufferlist.py +++ b/alot/buffers/bufferlist.py @@ -1,12 +1,12 @@ # Copyright (C) 2011-2018 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 -from .buffer import Buffer -from ..widgets.bufferlist import BufferlineWidget -from ..settings.const import settings +import urwid +from .buffer import Buffer +from ..settings.const import settings +from ..widgets.bufferlist import BufferlineWidget class BufferlistBuffer(Buffer): """lists all active buffers""" diff --git a/alot/buffers/envelope.py b/alot/buffers/envelope.py index ae13d74f..0bc7696f 100644 --- a/alot/buffers/envelope.py +++ b/alot/buffers/envelope.py @@ -1,13 +1,15 @@ # Copyright (C) 2011-2018 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 os -from .buffer import Buffer -from ..settings.const import settings -from ..widgets.globals import AttachmentWidget -from ..helper import shorten_author_string +import urwid + +from .buffer import Buffer +from ..helper import shorten_author_string +from ..settings.const import settings +from ..widgets.globals import AttachmentWidget def string_sanitize(string, tab_width=8): r""" diff --git a/alot/buffers/namedqueries.py b/alot/buffers/namedqueries.py index 6a76e107..1695ff52 100644 --- a/alot/buffers/namedqueries.py +++ b/alot/buffers/namedqueries.py @@ -1,10 +1,11 @@ # Copyright (C) 2011-2018 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 -from .buffer import Buffer -from ..settings.const import settings +from .buffer import Buffer +from ..settings.const import settings from ..widgets.namedqueries import QuerylineWidget diff --git a/alot/buffers/search.py b/alot/buffers/search.py index a17e6db3..3adce6ed 100644 --- a/alot/buffers/search.py +++ b/alot/buffers/search.py @@ -7,11 +7,11 @@ from functools import partial import urwid -from .buffer import Buffer +from .buffer import Buffer from ..db.errors import QueryError from ..db.sort import NAME as SORT_NAME -from ..settings.const import settings -from ..widgets.search import ThreadlineWidget +from ..settings.const import settings +from ..widgets.search import ThreadlineWidget class IterWalker(urwid.ListWalker): """ diff --git a/alot/buffers/taglist.py b/alot/buffers/taglist.py index e8c8df33..fceedd18 100644 --- a/alot/buffers/taglist.py +++ b/alot/buffers/taglist.py @@ -1,11 +1,12 @@ # Copyright (C) 2011-2018 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 -from .buffer import Buffer -from ..settings.const import settings -from ..widgets.globals import TagWidget +from .buffer import Buffer +from ..settings.const import settings +from ..widgets.globals import TagWidget class TagListBuffer(Buffer): diff --git a/alot/buffers/thread.py b/alot/buffers/thread.py index 30d313af..d342db86 100644 --- a/alot/buffers/thread.py +++ b/alot/buffers/thread.py @@ -6,13 +6,13 @@ import asyncio import enum import logging + import urwid -from .buffer import Buffer -from ..settings.const import settings -from ..widgets.thread import MessageWidget, ThreadNode -from .. import commands -from ..db.errors import NonexistantObjectError +from .buffer import Buffer +from ..settings.const import settings +from ..widgets.thread import MessageWidget, ThreadNode +from ..db.errors import NonexistantObjectError class _ThreadBufFocus(enum.Enum): TREE = enum.auto() |