[PATCH 1/2] python: Import explicit including package name
Sebastian Spaeth
Sebastian at SSpaeth.de
Thu Oct 28 05:37:15 PDT 2010
To make python3 happy
Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
---
Please find these two patches making the notmuch module (more) python 3k compliant.
I could not push them directly for some reason.
bindings/python/notmuch/__init__.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/bindings/python/notmuch/__init__.py b/bindings/python/notmuch/__init__.py
index 56a4f2a..5ba1337 100644
--- a/bindings/python/notmuch/__init__.py
+++ b/bindings/python/notmuch/__init__.py
@@ -51,10 +51,10 @@ along with notmuch. If not, see <http://www.gnu.org/licenses/>.
Copyright 2010 Sebastian Spaeth <Sebastian at SSpaeth.de>'
"""
-from database import Database, Query
-from message import Messages, Message
-from thread import Threads, Thread
-from tag import Tags
+from notmuch.database import Database, Query
+from notmuch.message import Messages, Message
+from notmuch.thread import Threads, Thread
+from notmuch.tag import Tags
from notmuch.globals import nmlib, STATUS, NotmuchError
__LICENSE__="GPL v3+"
__VERSION__='0.2.2'
--
1.7.1
More information about the notmuch
mailing list