diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-19 15:37:30 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-19 16:10:47 +0000 |
commit | 278e20ba759cc9045c9273f4e64314305f108f24 (patch) | |
tree | e4c1ff0302bf8a901d75cceeff6af1220b99cbe8 /alot/buffers.py | |
parent | 0b93dad9845a9a55821e1fdbb3ccafb97f265127 (diff) |
pep8/pyflakes cleanup
Diffstat (limited to 'alot/buffers.py')
-rw-r--r-- | alot/buffers.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/alot/buffers.py b/alot/buffers.py index 43982369..3f4a6353 100644 --- a/alot/buffers.py +++ b/alot/buffers.py @@ -9,7 +9,6 @@ from helper import shorten_author_string from db import NonexistantObjectError - class Buffer(object): """Abstract base class for buffers.""" @@ -71,9 +70,11 @@ class BufferlistBuffer(Buffer): for (num, b) in enumerate(displayedbuffers): line = widgets.BufferlineWidget(b) if (num % 2) == 0: - attr = settings.get_theming_attribute('bufferlist', 'results_even') + attr = settings.get_theming_attribute('bufferlist', + 'results_even') else: - attr = settings.get_theming_attribute('bufferlist', 'results_odd') + attr = settings.get_theming_attribute('bufferlist', + 'results_odd') focus_att = settings.get_theming_attribute('bufferlist', 'focus') buf = urwid.AttrMap(line, attr, focus_att) num = urwid.Text('%3d:' % self.index_of(b)) |