[PATCH] python: use absolute import for SOVERSION
authorDavid Bremner <david@tethera.net>
Sun, 17 May 2015 13:03:54 +0000 (15:03 +0200)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:48:54 +0000 (14:48 -0700)
69/f2dd66793b13a775098e7022c28b6370562f6d [new file with mode: 0644]

diff --git a/69/f2dd66793b13a775098e7022c28b6370562f6d b/69/f2dd66793b13a775098e7022c28b6370562f6d
new file mode 100644 (file)
index 0000000..eeb03ec
--- /dev/null
@@ -0,0 +1,72 @@
+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 7C0166DE1147\r
+ for <notmuch@notmuchmail.org>; Sun, 17 May 2015 06:05:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.305\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.305 tagged_above=-999 required=5 tests=[AWL=0.295, \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 naN4xwLvHn2q for <notmuch@notmuchmail.org>;\r
+ Sun, 17 May 2015 06:05:49 -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 88FC46DE1018\r
+ for <notmuch@notmuchmail.org>; Sun, 17 May 2015 06:05:49 -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 1YtyF6-0007eL-1v; Sun, 17 May 2015 13:04:32 +0000\r
+Received: (nullmailer pid 15998 invoked by uid 1000); Sun, 17 May 2015\r
+ 13:03:58 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: David Bremner <david@tethera.net>, Lele Gaifax <lele@metapensiero.it>,\r
+ notmuch@notmuchmail.org\r
+Subject: [PATCH] python: use absolute import for SOVERSION\r
+Date: Sun, 17 May 2015 15:03:54 +0200\r
+Message-Id: <1431867834-15936-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.1.4\r
+In-Reply-To: <1431152030-24171-1-git-send-email-david@tethera.net>\r
+References: <1431152030-24171-1-git-send-email-david@tethera.net>\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: Sun, 17 May 2015 13:05:52 -0000\r
+\r
+Apparently python3 needs this.\r
+---\r
+\r
+It seems like the previous sending of this patch didn't make it to the list.\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