remove unused imports

This commit is contained in:
Patrick Totzke 2011-12-05 21:12:34 +00:00 committed by Sebastian Spaeth
parent 12ebf87947
commit 86b0aeb1ca
5 changed files with 5 additions and 7 deletions

View file

@ -18,9 +18,9 @@ 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, POINTER from ctypes import c_char_p, c_void_p, c_uint, c_long, byref, POINTER
from notmuch.globals import (nmlib, STATUS, NotmuchError, NotInitializedError, from notmuch.globals import (nmlib, STATUS, NotmuchError, NotInitializedError,
NullPointerError, OutOfMemoryError, XapianError, Enum, _str, NullPointerError, Enum, _str,
NotmuchDatabaseP, NotmuchDirectoryP, NotmuchMessageP, NotmuchTagsP, NotmuchDatabaseP, NotmuchDirectoryP, NotmuchMessageP, NotmuchTagsP,
NotmuchQueryP, NotmuchMessagesP, NotmuchThreadsP, NotmuchFilenamesP) NotmuchQueryP, NotmuchMessagesP, NotmuchThreadsP, NotmuchFilenamesP)
from notmuch.thread import Threads from notmuch.thread import Threads

View file

@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
""" """
from ctypes import c_char_p from ctypes import c_char_p
from notmuch.globals import (nmlib, STATUS, NotmuchError, from notmuch.globals import (nmlib, STATUS, NotmuchError,
NotmuchFilenamesP, NotmuchMessagesP, NotmuchMessageP) NotmuchFilenamesP, NotmuchMessageP)
class Filenames(object): class Filenames(object):

View file

@ -18,7 +18,6 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
""" """
from ctypes import CDLL, c_char_p, c_int, Structure, POINTER from ctypes import CDLL, c_char_p, c_int, Structure, POINTER
from ctypes.util import find_library
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
#package-global instance of the notmuch library #package-global instance of the notmuch library

View file

@ -19,7 +19,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
""" """
from ctypes import c_char_p, c_void_p, c_long, c_uint, c_int from ctypes import c_char_p, c_long, c_uint, c_int
from datetime import date from datetime import date
from notmuch.globals import (nmlib, STATUS, NotmuchError, Enum, _str, from notmuch.globals import (nmlib, STATUS, NotmuchError, Enum, _str,
NotmuchTagsP, NotmuchMessagesP, NotmuchMessageP, NotmuchFilenamesP) NotmuchTagsP, NotmuchMessagesP, NotmuchMessageP, NotmuchFilenamesP)
@ -27,7 +27,6 @@ from notmuch.tag import Tags
from notmuch.filename import Filenames from notmuch.filename import Filenames
import sys import sys
import email import email
import types
try: try:
import simplejson as json import simplejson as json
except ImportError: except ImportError:

View file

@ -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, c_void_p, c_long, c_int from ctypes import c_char_p, c_long, c_int
from notmuch.globals import (nmlib, STATUS, from notmuch.globals import (nmlib, STATUS,
NotmuchError, NotmuchThreadP, NotmuchThreadsP, NotmuchMessagesP, NotmuchError, NotmuchThreadP, NotmuchThreadsP, NotmuchMessagesP,
NotmuchTagsP,) NotmuchTagsP,)