summaryrefslogtreecommitdiff
path: root/alot/buffers.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-11-08 16:31:31 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2011-11-08 16:31:31 +0000
commit5b381af19aa62237454c037637e076342578e07f (patch)
tree4f47f32225d0241869bb5989da3c5c74d0318542 /alot/buffers.py
parent9555140cf525968e8172f66991d8387bcc16c2ab (diff)
DBManager.get_threads
returns a Pipe from which we can read the results
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 e5bc8ccc..8db5e44d 100644
--- a/alot/buffers.py
+++ b/alot/buffers.py
@@ -168,7 +168,7 @@ class SearchBuffer(Buffer):
self.result_count = self.dbman.count_messages(self.querystring)
try:
- self.pipe = self.dbman.query_threaded(self.querystring)
+ self.pipe = self.dbman.get_threads(self.querystring)
except NotmuchError: #TODO: this never happens for malformed queries
self.ui.notify('malformed query string: %s' % self.querystring,
'error')