From: Sebastian Spaeth Date: Wed, 31 Mar 2010 08:12:55 +0000 (+0200) Subject: database(): Actually return a value on remove_message() X-Git-Tag: 0.3~121^2~12 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=a5596f375b4867c3a86298b74ddd7a494df2cf71 database(): Actually return a value on remove_message() --- 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):