From 21843511ef9e0482da917c9e01f1add1949fabde Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 20 Jan 2021 22:04:43 +0100 Subject: buffers: make get_info() asynchronous Allows computing message/thread counts asynchronously in a separate thread. --- alot/db/manager.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'alot/db') diff --git a/alot/db/manager.py b/alot/db/manager.py index 728dcddb..6477d696 100644 --- a/alot/db/manager.py +++ b/alot/db/manager.py @@ -154,8 +154,6 @@ class DBManager: def _db_ro(self): return closing(Database(path = self.path, mode = Database.MODE.READ_ONLY)) - - def count_messages(self, querystring): """returns number of messages that match `querystring`""" with self._db_ro() as db: -- cgit v1.2.3