]> git.notmuchmail.org Git - notmuch/blobdiff - cnotmuch/database.py
database(): Actually return a value on remove_message()
[notmuch] / cnotmuch / database.py
index bb8a963252d0d088f54ddbc696cc244428fb6882..fd2d9a998a503e858282aad8c02a00bc0f303ac5 100644 (file)
@@ -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):