mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
python: use relative imports
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
parent
5bc5471c54
commit
05c3e83bd2
7 changed files with 10 additions and 10 deletions
|
@ -20,7 +20,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|||
import os
|
||||
import codecs
|
||||
from ctypes import c_char_p, c_void_p, c_uint, byref, POINTER
|
||||
from notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
Enum,
|
||||
_str,
|
||||
|
@ -37,8 +37,8 @@ from .errors import (
|
|||
NotInitializedError,
|
||||
ReadOnlyDatabaseError,
|
||||
)
|
||||
from notmuch.message import Message
|
||||
from notmuch.tag import Tags
|
||||
from .message import Message
|
||||
from .tag import Tags
|
||||
from .query import Query
|
||||
from .directory import Directory
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|||
"""
|
||||
|
||||
from ctypes import c_uint, c_long
|
||||
from notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
NotmuchDirectoryP,
|
||||
NotmuchFilenamesP
|
||||
|
|
|
@ -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 notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
NotmuchMessageP,
|
||||
NotmuchFilenamesP,
|
||||
|
|
|
@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|||
"""
|
||||
|
||||
from ctypes import c_char_p, c_uint
|
||||
from notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
Enum,
|
||||
_str,
|
||||
|
|
|
@ -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 notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
Python3StringMixIn,
|
||||
NotmuchTagsP,
|
||||
|
|
|
@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
|
|||
"""
|
||||
|
||||
from ctypes import c_char_p, c_long, c_int
|
||||
from notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
NotmuchThreadP,
|
||||
NotmuchMessagesP,
|
||||
|
@ -29,7 +29,7 @@ from .errors import (
|
|||
NotInitializedError,
|
||||
)
|
||||
from .messages import Messages
|
||||
from notmuch.tag import Tags
|
||||
from .tag import Tags
|
||||
from datetime import date
|
||||
|
||||
class Thread(object):
|
||||
|
|
|
@ -17,7 +17,7 @@ along with notmuch. If not, see <http://www.gnu.org/licenses/>.
|
|||
Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>
|
||||
"""
|
||||
|
||||
from notmuch.globals import (
|
||||
from .globals import (
|
||||
nmlib,
|
||||
Python3StringMixIn,
|
||||
NotmuchThreadP,
|
||||
|
|
Loading…
Reference in a new issue