From a5596f375b4867c3a86298b74ddd7a494df2cf71 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Wed, 31 Mar 2010 10:12:55 +0200 Subject: [PATCH] database(): Actually return a value on remove_message() --- cnotmuch/database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cnotmuch/database.py b/cnotmuch/database.py index bb8a9632..fd2d9a99 100644 --- a/cnotmuch/database.py +++ b/cnotmuch/database.py @@ -329,7 +329,7 @@ class Database(object): # Raise a NotmuchError if not initialized self._verify_initialized_db() - status = nmlib.notmuch_database_remove_message(self._db, + return nmlib.notmuch_database_remove_message(self._db, filename) def find_message(self, msgid):