python: move the exception classes into error.py
[notmuch] / bindings / python / notmuch / directory.py
index b679aa293dc21006a06102e612e2cbca631ceb19..0c5e015e0e01feb9da330e08c2de951f54ed7797 100644 (file)
@@ -20,11 +20,13 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
 from ctypes import c_uint, c_long
 from notmuch.globals import (
     nmlib,
+    NotmuchDirectoryP,
+    NotmuchFilenamesP
+)
+from .errors import (
     STATUS,
     NotmuchError,
     NotInitializedError,
-    NotmuchDirectoryP,
-    NotmuchFilenamesP
 )
 from .filenames import Filenames