[PATCH 1/2] python: Import explicit including package name
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Thu, 28 Oct 2010 12:37:15 +0000 (14:37 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:19 +0000 (09:37 -0800)
2f/0b21179c0067bf45ad7e9abaddb9f672143a02 [new file with mode: 0644]

diff --git a/2f/0b21179c0067bf45ad7e9abaddb9f672143a02 b/2f/0b21179c0067bf45ad7e9abaddb9f672143a02
new file mode 100644 (file)
index 0000000..38f3320
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <Sebastian@SSpaeth.de>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id B00C540D155\r
+       for <notmuch@notmuchmail.org>; Thu, 28 Oct 2010 05:37:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,\r
+       DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id HSj9dBr0CodG for <notmuch@notmuchmail.org>;\r
+       Thu, 28 Oct 2010 05:37:25 -0700 (PDT)\r
+Received: from homiemail-a12.g.dreamhost.com (caiajhbdcaib.dreamhost.com\r
+       [208.97.132.81])\r
+       by olra.theworths.org (Postfix) with ESMTP id 870DB40D160\r
+       for <notmuch@notmuchmail.org>; Thu, 28 Oct 2010 05:37:25 -0700 (PDT)\r
+Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1])\r
+       by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 259D2714086;\r
+       Thu, 28 Oct 2010 05:37:25 -0700 (PDT)\r
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject\r
+       :date:message-id; q=dns; s=sspaeth.de; b=nal9IjgGikdUAkQnXMAkMbT\r
+       i84Ka2/StPdWb4ZJDwteDmxA1ZEGz77NamgYn+RyzYQcrf7qPZIGEbI/RpbmRGNX\r
+       n4jA7dx8jjH7EHQlQP1jgWyJy9XAcjwgYgIddWc4EIbLgvy75E75gzX5iHSSO12V\r
+       d8uhMxPMDPBX4XuAtE80=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc\r
+       :subject:date:message-id; s=sspaeth.de; bh=KC7w45SMF7f4f5mBZNjmp\r
+       GHN1E0=; b=GaW+3JspP1+OOXRGyI1ygZamuSa+TVrbQkdUbDy23kc9XeHNhPUgD\r
+       5tnMxT3aEoZHsxIKRXMgj5Rd+ihnYFlac7DEZuyBKd5ATo6uZt7pFDSVfqBBrFMW\r
+       sSyZiFWpzEmL5Tipn1B1NAdNln7Bmd/dbnW60+KchLrjTZ3lGhFKm0=\r
+Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-016.ethz.ch\r
+       [82.130.121.16]) (Authenticated sender: fax@sspaeth.de)\r
+       by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 8D40271406A; \r
+       Thu, 28 Oct 2010 05:37:23 -0700 (PDT)\r
+Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
+       Thu, 28 Oct 2010 14:37:22 +0200\r
+From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 1/2] python: Import explicit including package name\r
+Date: Thu, 28 Oct 2010 14:37:15 +0200\r
+Message-Id: <1288269436-730-1-git-send-email-Sebastian@SSpaeth.de>\r
+X-Mailer: git-send-email 1.7.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 28 Oct 2010 12:37:36 -0000\r
+\r
+To make python3 happy\r
+\r
+Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+---\r
+Please find these two patches making the notmuch module (more) python 3k compliant.\r
+I could not push them directly for some reason.\r
+\r
+ bindings/python/notmuch/__init__.py |    8 ++++----\r
+ 1 files changed, 4 insertions(+), 4 deletions(-)\r
+\r
+diff --git a/bindings/python/notmuch/__init__.py b/bindings/python/notmuch/__init__.py\r
+index 56a4f2a..5ba1337 100644\r
+--- a/bindings/python/notmuch/__init__.py\r
++++ b/bindings/python/notmuch/__init__.py\r
+@@ -51,10 +51,10 @@ along with notmuch.  If not, see <http://www.gnu.org/licenses/>.\r
\r
+ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'\r
+ """\r
+-from database import Database, Query\r
+-from message import Messages, Message\r
+-from thread import Threads, Thread\r
+-from tag import Tags\r
++from notmuch.database import Database, Query\r
++from notmuch.message import Messages, Message\r
++from notmuch.thread import Threads, Thread\r
++from notmuch.tag import Tags\r
+ from notmuch.globals import nmlib, STATUS, NotmuchError\r
+ __LICENSE__="GPL v3+"\r
+ __VERSION__='0.2.2'\r
+-- \r
+1.7.1\r
+\r