summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2014-08-02 18:01:57 +0200
committerPatrick Totzke <patricktotzke@gmail.com>2014-08-02 18:01:57 +0200
commit30dbe55e0281210af339a13fa6c12c7aa5167313 (patch)
treeba7c99a6f58b80163bb0a14c70a8102403cfe912 /alot/buffers.py
parent2a93e66df116af737c2c0da1b9132542a803c1fb (diff)
just formating (pep8 etc.)
Diffstat (limited to 'alot/buffers.py')
-rw-r--r--alot/buffers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index 3c1bf4c1..29cfb846 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -312,7 +312,6 @@ class SearchBuffer(Buffer):
self.rebuild(reverse=True)
-
class ThreadBuffer(Buffer):
"""displays a thread as a tree of messages"""
@@ -383,7 +382,7 @@ class ThreadBuffer(Buffer):
summary_pos = (self.body.get_focus()[1][0], (0,))
cursor_on_non_summary = (focus_pos != summary_pos)
if cursor_on_non_summary:
- if not mid in self._auto_unread_dont_touch_mids:
+ if mid not in self._auto_unread_dont_touch_mids:
if 'unread' in msg.get_tags():
logging.debug('Tbuffer: removing unread')