summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffers.py')
-rw-r--r--alot/buffers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/buffers.py b/alot/buffers.py
index c3352289..351d84f6 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -172,7 +172,7 @@ class SearchBuffer(Buffer):
self.result_count = self.dbman.count_messages(self.querystring)
try:
self.pipe, self.proc = self.dbman.get_threads(self.querystring)
- except NotmuchError: #TODO: this never happens for malformed queries
+ except NotmuchError:
self.ui.notify('malformed query string: %s' % self.querystring,
'error')
self.listbox = urwid.ListBox(self.threadlist)