database(): Actually return a value on remove_message()
authorSebastian Spaeth <sebastian@sspaeth.de>
Wed, 31 Mar 2010 08:12:55 +0000 (10:12 +0200)
committerSebastian Spaeth <sebastian@sspaeth.de>
Wed, 31 Mar 2010 08:12:55 +0000 (10:12 +0200)
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):