python: move the exception classes into error.py
[notmuch] / bindings / python / notmuch / threads.py
index 9d305e23423418fe26a0c2bc9c2beea93692176e..690206ef5a9668b6e09ff1b052e7941e373dff75 100644 (file)
@@ -20,11 +20,13 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
 from notmuch.globals import (
     nmlib,
     Python3StringMixIn,
-    NullPointerError,
-    NotInitializedError,
     NotmuchThreadP,
     NotmuchThreadsP,
 )
+from .errors import (
+    NullPointerError,
+    NotInitializedError,
+)
 from .thread import Thread
 
 class Threads(Python3StringMixIn):