python: move the exception classes into error.py
[notmuch] / bindings / python / notmuch / thread.py
index 0dac522c5aa30a8477afd65a1fe9a9a006a5306e..a759c90974d267d44277e789d99e1f5bc5f2f68f 100644 (file)
@@ -20,12 +20,14 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
 from ctypes import c_char_p, c_long, c_int
 from notmuch.globals import (
     nmlib,
-    NullPointerError,
-    NotInitializedError,
     NotmuchThreadP,
     NotmuchMessagesP,
     NotmuchTagsP,
 )
+from .errors import (
+    NullPointerError,
+    NotInitializedError,
+)
 from .messages import Messages
 from notmuch.tag import Tags
 from datetime import date