mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-05 16:21:44 +01:00
Remove all traces of cnotmuch
import cnotmuch.notmuch is dead. Long live import notmuch!
This commit is contained in:
parent
eb10841de7
commit
2123bdd7fc
5 changed files with 12 additions and 12 deletions
|
@ -55,7 +55,7 @@ from database import Database, Query
|
||||||
from message import Messages, Message
|
from message import Messages, Message
|
||||||
from thread import Threads, Thread
|
from thread import Threads, Thread
|
||||||
from tag import Tags
|
from tag import Tags
|
||||||
from cnotmuch.globals import nmlib, STATUS, NotmuchError
|
from notmuch.globals import nmlib, STATUS, NotmuchError
|
||||||
__LICENSE__="GPL v3+"
|
__LICENSE__="GPL v3+"
|
||||||
__VERSION__='0.2.2'
|
__VERSION__='0.2.2'
|
||||||
__AUTHOR__ ='Sebastian Spaeth <Sebastian@SSpaeth.de>'
|
__AUTHOR__ ='Sebastian Spaeth <Sebastian@SSpaeth.de>'
|
||||||
|
|
|
@ -19,10 +19,10 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from ctypes import c_int, c_char_p, c_void_p, c_uint, c_long, byref
|
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 notmuch.globals import nmlib, STATUS, NotmuchError, Enum
|
||||||
from cnotmuch.thread import Threads
|
from notmuch.thread import Threads
|
||||||
from cnotmuch.message import Messages, Message
|
from notmuch.message import Messages, Message
|
||||||
from cnotmuch.tag import Tags
|
from notmuch.tag import Tags
|
||||||
|
|
||||||
class Database(object):
|
class Database(object):
|
||||||
"""Represents a notmuch database (wraps notmuch_database_t)
|
"""Represents a notmuch database (wraps notmuch_database_t)
|
||||||
|
@ -769,7 +769,7 @@ class Directory(object):
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
"""Object representation"""
|
"""Object representation"""
|
||||||
return "<cnotmuch Directory object '%s'>" % self._path
|
return "<notmuch Directory object '%s'>" % self._path
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
"""Close and free the Directory"""
|
"""Close and free the Directory"""
|
||||||
|
|
|
@ -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 ctypes import c_char_p, c_void_p, c_long, c_uint
|
||||||
from datetime import date
|
from datetime import date
|
||||||
from cnotmuch.globals import nmlib, STATUS, NotmuchError, Enum
|
from notmuch.globals import nmlib, STATUS, NotmuchError, Enum
|
||||||
from cnotmuch.tag import Tags
|
from notmuch.tag import Tags
|
||||||
import sys
|
import sys
|
||||||
import email
|
import email
|
||||||
import types
|
import types
|
||||||
|
|
|
@ -17,7 +17,7 @@ along with notmuch. If not, see <http://www.gnu.org/licenses/>.
|
||||||
Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
|
Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
|
||||||
"""
|
"""
|
||||||
from ctypes import c_char_p
|
from ctypes import c_char_p
|
||||||
from cnotmuch.globals import nmlib, STATUS, NotmuchError
|
from notmuch.globals import nmlib, STATUS, NotmuchError
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
class Tags(object):
|
class Tags(object):
|
||||||
|
|
|
@ -18,9 +18,9 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from ctypes import c_char_p, c_void_p, c_long
|
from ctypes import c_char_p, c_void_p, c_long
|
||||||
from cnotmuch.globals import nmlib, STATUS, NotmuchError
|
from notmuch.globals import nmlib, STATUS, NotmuchError
|
||||||
from cnotmuch.message import Messages
|
from notmuch.message import Messages
|
||||||
from cnotmuch.tag import Tags
|
from notmuch.tag import Tags
|
||||||
from datetime import date
|
from datetime import date
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue