[PATCH] python: use absolute import for SOVERSION
authorDavid Bremner <david@tethera.net>
Sat, 9 May 2015 06:13:50 +0000 (08:13 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:53 +0000 (14:48 -0700)
04/c010c6dcaf2048f8cce32e8d24f962a37e9019 [new file with mode: 0644]

diff --git a/04/c010c6dcaf2048f8cce32e8d24f962a37e9019 b/04/c010c6dcaf2048f8cce32e8d24f962a37e9019
new file mode 100644 (file)
index 0000000..768b64f
--- /dev/null
@@ -0,0 +1,68 @@
+Return-Path: <bremner@tesseract.cs.unb.ca>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id A5BE56DE1649\r
+ for <notmuch@notmuchmail.org>; Fri,  8 May 2015 23:15:36 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.315\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.315 tagged_above=-999 required=5 tests=[AWL=0.305, \r
+ T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id hivHekXoCqU9 for <notmuch@notmuchmail.org>;\r
+ Fri,  8 May 2015 23:15:33 -0700 (PDT)\r
+Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net\r
+ [87.98.215.224])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 9B85D6DE1641\r
+ for <notmuch@notmuchmail.org>; Fri,  8 May 2015 23:15:33 -0700 (PDT)\r
+Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim\r
+ 4.80) (envelope-from <bremner@tesseract.cs.unb.ca>)\r
+ id 1Yqy1n-0005ej-Do; Sat, 09 May 2015 06:14:23 +0000\r
+Received: (nullmailer pid 24214 invoked by uid 1000); Sat, 09 May 2015\r
+ 06:13:59 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Lele Gaifax <lele@metapensiero.it>, notmuch@notmuchmail.org\r
+Subject: [PATCH] python: use absolute import for SOVERSION\r
+Date: Sat,  9 May 2015 08:13:50 +0200\r
+Message-Id: <1431152030-24171-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <877fslcmwk.fsf@nautilus.nautilus>\r
+References: <877fslcmwk.fsf@nautilus.nautilus>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.18\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: Sat, 09 May 2015 06:15:36 -0000\r
+\r
+Apparently python3 needs this.\r
+---\r
+ bindings/python/notmuch/globals.py | 2 +-\r
+ 1 file changed, 1 insertion(+), 1 deletion(-)\r
+\r
+diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py\r
+index 4c49d51..70cfdc3 100644\r
+--- a/bindings/python/notmuch/globals.py\r
++++ b/bindings/python/notmuch/globals.py\r
+@@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>\r
+ """\r
\r
+ from ctypes import CDLL, Structure, POINTER\r
+-from version import SOVERSION\r
++from notmuch.version import SOVERSION\r
\r
+ #-----------------------------------------------------------------------------\r
+ #package-global instance of the notmuch library\r
+-- \r
+2.1.4\r
+\r