[PATCH 1/2] python: Import explicit including package name
[notmuch-archives.git] / 2f / 0b21179c0067bf45ad7e9abaddb9f672143a02
1 Return-Path: <Sebastian@SSpaeth.de>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id B00C540D155\r
6         for <notmuch@notmuchmail.org>; Thu, 28 Oct 2010 05:37:36 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,\r
12         DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id HSj9dBr0CodG for <notmuch@notmuchmail.org>;\r
17         Thu, 28 Oct 2010 05:37:25 -0700 (PDT)\r
18 Received: from homiemail-a12.g.dreamhost.com (caiajhbdcaib.dreamhost.com\r
19         [208.97.132.81])\r
20         by olra.theworths.org (Postfix) with ESMTP id 870DB40D160\r
21         for <notmuch@notmuchmail.org>; Thu, 28 Oct 2010 05:37:25 -0700 (PDT)\r
22 Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1])\r
23         by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 259D2714086;\r
24         Thu, 28 Oct 2010 05:37:25 -0700 (PDT)\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=SSpaeth.de; h=from:to:cc:subject\r
26         :date:message-id; q=dns; s=sspaeth.de; b=nal9IjgGikdUAkQnXMAkMbT\r
27         i84Ka2/StPdWb4ZJDwteDmxA1ZEGz77NamgYn+RyzYQcrf7qPZIGEbI/RpbmRGNX\r
28         n4jA7dx8jjH7EHQlQP1jgWyJy9XAcjwgYgIddWc4EIbLgvy75E75gzX5iHSSO12V\r
29         d8uhMxPMDPBX4XuAtE80=\r
30 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=SSpaeth.de; h=from:to:cc\r
31         :subject:date:message-id; s=sspaeth.de; bh=KC7w45SMF7f4f5mBZNjmp\r
32         GHN1E0=; b=GaW+3JspP1+OOXRGyI1ygZamuSa+TVrbQkdUbDy23kc9XeHNhPUgD\r
33         5tnMxT3aEoZHsxIKRXMgj5Rd+ihnYFlac7DEZuyBKd5ATo6uZt7pFDSVfqBBrFMW\r
34         sSyZiFWpzEmL5Tipn1B1NAdNln7Bmd/dbnW60+KchLrjTZ3lGhFKm0=\r
35 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-016.ethz.ch\r
36         [82.130.121.16]) (Authenticated sender: fax@sspaeth.de)\r
37         by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 8D40271406A; \r
38         Thu, 28 Oct 2010 05:37:23 -0700 (PDT)\r
39 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
40         Thu, 28 Oct 2010 14:37:22 +0200\r
41 From: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
42 To: notmuch@notmuchmail.org\r
43 Subject: [PATCH 1/2] python: Import explicit including package name\r
44 Date: Thu, 28 Oct 2010 14:37:15 +0200\r
45 Message-Id: <1288269436-730-1-git-send-email-Sebastian@SSpaeth.de>\r
46 X-Mailer: git-send-email 1.7.1\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Thu, 28 Oct 2010 12:37:36 -0000\r
60 \r
61 To make python3 happy\r
62 \r
63 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>\r
64 ---\r
65 Please find these two patches making the notmuch module (more) python 3k compliant.\r
66 I could not push them directly for some reason.\r
67 \r
68  bindings/python/notmuch/__init__.py |    8 ++++----\r
69  1 files changed, 4 insertions(+), 4 deletions(-)\r
70 \r
71 diff --git a/bindings/python/notmuch/__init__.py b/bindings/python/notmuch/__init__.py\r
72 index 56a4f2a..5ba1337 100644\r
73 --- a/bindings/python/notmuch/__init__.py\r
74 +++ b/bindings/python/notmuch/__init__.py\r
75 @@ -51,10 +51,10 @@ along with notmuch.  If not, see <http://www.gnu.org/licenses/>.\r
76  \r
77  Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'\r
78  """\r
79 -from database import Database, Query\r
80 -from message import Messages, Message\r
81 -from thread import Threads, Thread\r
82 -from tag import Tags\r
83 +from notmuch.database import Database, Query\r
84 +from notmuch.message import Messages, Message\r
85 +from notmuch.thread import Threads, Thread\r
86 +from notmuch.tag import Tags\r
87  from notmuch.globals import nmlib, STATUS, NotmuchError\r
88  __LICENSE__="GPL v3+"\r
89  __VERSION__='0.2.2'\r
90 -- \r
91 1.7.1\r
92 \r