[PATCH] python: use absolute import for SOVERSION

David Bremner david at tethera.net
Fri May 8 23:13:50 PDT 2015


Apparently python3 needs this.
---
 bindings/python/notmuch/globals.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bindings/python/notmuch/globals.py b/bindings/python/notmuch/globals.py
index 4c49d51..70cfdc3 100644
--- a/bindings/python/notmuch/globals.py
+++ b/bindings/python/notmuch/globals.py
@@ -18,7 +18,7 @@ Copyright 2010 Sebastian Spaeth <Sebastian at SSpaeth.de>
 """
 
 from ctypes import CDLL, Structure, POINTER
-from version import SOVERSION
+from notmuch.version import SOVERSION
 
 #-----------------------------------------------------------------------------
 #package-global instance of the notmuch library
-- 
2.1.4



More information about the notmuch mailing list