Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 480F5429E35 for ; Mon, 5 Dec 2011 13:13:04 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t2SCf88JbdcD for ; Mon, 5 Dec 2011 13:13:01 -0800 (PST) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 08BD5429E32 for ; Mon, 5 Dec 2011 13:12:59 -0800 (PST) Received: by mail-ey0-f181.google.com with SMTP id l13so1417582eaa.26 for ; Mon, 05 Dec 2011 13:12:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=IuZubnZYEDuWVAkryvyu4eNtr5wLvIawhxKezlEIrqE=; b=Q0/XdUwnKW1B5trvrqcU0WZ7JTG1OUByqxxFyjEbUSWQaPXr/r2CLENGo3uuMTzxwQ ytFgvolDbss4CrO4R90/9rTdsI2CLkz+Yirp9qWCTCxbqnBl44CSngnKpOOO9B9DWQ5/ o66R2Ty3MzzAzfgbPLXsgciAxGBwIQ6cKL8Zw= Received: by 10.213.34.11 with SMTP id j11mr1489231ebd.143.1323119579716; Mon, 05 Dec 2011 13:12:59 -0800 (PST) Received: from localhost (cpc1-sgyl2-0-0-cust548.18-2.cable.virginmedia.com. [82.41.10.37]) by mx.google.com with ESMTPS id 65sm38882971eeg.8.2011.12.05.13.12.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Dec 2011 13:12:58 -0800 (PST) From: Patrick Totzke To: notmuch@notmuchmail.org Subject: [PATCH 2/3] remove unused imports Date: Mon, 5 Dec 2011 21:12:34 +0000 Message-Id: <1323119555-31416-3-git-send-email-patricktotzke@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1323119555-31416-1-git-send-email-patricktotzke@gmail.com> References: <1323119555-31416-1-git-send-email-patricktotzke@gmail.com> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 21:13:05 -0000 --- bindings/python/notmuch/database.py | 4 ++-- bindings/python/notmuch/filename.py | 2 +- bindings/python/notmuch/globals.py | 1 - bindings/python/notmuch/message.py | 3 +-- bindings/python/notmuch/thread.py | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index ca17273..706e8c8 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -18,9 +18,9 @@ Copyright 2010 Sebastian Spaeth ' """ 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, - NullPointerError, OutOfMemoryError, XapianError, Enum, _str, + NullPointerError, Enum, _str, NotmuchDatabaseP, NotmuchDirectoryP, NotmuchMessageP, NotmuchTagsP, NotmuchQueryP, NotmuchMessagesP, NotmuchThreadsP, NotmuchFilenamesP) from notmuch.thread import Threads diff --git a/bindings/python/notmuch/filename.py b/bindings/python/notmuch/filename.py index 077754e..6b332a9 100644 --- a/bindings/python/notmuch/filename.py +++ b/bindings/python/notmuch/filename.py @@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth ' """ from ctypes import c_char_p from notmuch.globals import (nmlib, STATUS, NotmuchError, - NotmuchFilenamesP, NotmuchMessagesP, NotmuchMessageP) + NotmuchFilenamesP, NotmuchMessageP) class Filenames(object): diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py index f5c8d52..f69c73d 100644 --- a/bindings/python/notmuch/globals.py +++ b/bindings/python/notmuch/globals.py @@ -18,7 +18,6 @@ Copyright 2010 Sebastian Spaeth ' """ from ctypes import CDLL, c_char_p, c_int, Structure, POINTER -from ctypes.util import find_library #----------------------------------------------------------------------------- #package-global instance of the notmuch library diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index e0c7eda..2534742 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -19,7 +19,7 @@ Copyright 2010 Sebastian Spaeth ' """ -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 notmuch.globals import (nmlib, STATUS, NotmuchError, Enum, _str, NotmuchTagsP, NotmuchMessagesP, NotmuchMessageP, NotmuchFilenamesP) @@ -27,7 +27,6 @@ from notmuch.tag import Tags from notmuch.filename import Filenames import sys import email -import types try: import simplejson as json except ImportError: diff --git a/bindings/python/notmuch/thread.py b/bindings/python/notmuch/thread.py index dbd6c0f..c575c88 100644 --- a/bindings/python/notmuch/thread.py +++ b/bindings/python/notmuch/thread.py @@ -17,7 +17,7 @@ along with notmuch. If not, see . Copyright 2010 Sebastian Spaeth ' """ -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, NotmuchError, NotmuchThreadP, NotmuchThreadsP, NotmuchMessagesP, NotmuchTagsP,) -- 1.7.4.1