Remove all traces of cnotmuch

import cnotmuch.notmuch is dead. Long live import notmuch!
This commit is contained in:
Sebastian Spaeth 2010-04-19 21:29:40 +02:00
parent eb10841de7
commit 2123bdd7fc
5 changed files with 12 additions and 12 deletions

View file

@ -55,7 +55,7 @@ from database import Database, Query
from message import Messages, Message
from thread import Threads, Thread
from tag import Tags
from cnotmuch.globals import nmlib, STATUS, NotmuchError
from notmuch.globals import nmlib, STATUS, NotmuchError
__LICENSE__="GPL v3+"
__VERSION__='0.2.2'
__AUTHOR__ ='Sebastian Spaeth <Sebastian@SSpaeth.de>'

View file

@ -19,10 +19,10 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
import os
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, Message
from cnotmuch.tag import Tags
from notmuch.globals import nmlib, STATUS, NotmuchError, Enum
from notmuch.thread import Threads
from notmuch.message import Messages, Message
from notmuch.tag import Tags
class Database(object):
"""Represents a notmuch database (wraps notmuch_database_t)
@ -769,7 +769,7 @@ class Directory(object):
def __repr__(self):
"""Object representation"""
return "<cnotmuch Directory object '%s'>" % self._path
return "<notmuch Directory object '%s'>" % self._path
def __del__(self):
"""Close and free the Directory"""

View file

@ -21,8 +21,8 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
from ctypes import c_char_p, c_void_p, c_long, c_uint
from datetime import date
from cnotmuch.globals import nmlib, STATUS, NotmuchError, Enum
from cnotmuch.tag import Tags
from notmuch.globals import nmlib, STATUS, NotmuchError, Enum
from notmuch.tag import Tags
import sys
import email
import types

View file

@ -17,7 +17,7 @@ along with notmuch. If not, see <http://www.gnu.org/licenses/>.
Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
"""
from ctypes import c_char_p
from cnotmuch.globals import nmlib, STATUS, NotmuchError
from notmuch.globals import nmlib, STATUS, NotmuchError
#------------------------------------------------------------------------------
class Tags(object):

View file

@ -18,9 +18,9 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
"""
from ctypes import c_char_p, c_void_p, c_long
from cnotmuch.globals import nmlib, STATUS, NotmuchError
from cnotmuch.message import Messages
from cnotmuch.tag import Tags
from notmuch.globals import nmlib, STATUS, NotmuchError
from notmuch.message import Messages
from notmuch.tag import Tags
from datetime import date
#------------------------------------------------------------------------------