from ctypes import c_int, c_char_p, c_void_p, c_uint, c_long, byref
from cnotmuch.globals import nmlib, STATUS, NotmuchError, Enum
from cnotmuch.thread import Threads
-from cnotmuch.message import Messages
+from cnotmuch.message import Messages, Message
from cnotmuch.tag import Tags
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):