python: move the exception classes into error.py
[notmuch] / bindings / python / notmuch / filenames.py
index 232a9edae9e09cdc95148402b5fc67e1bcc41899..12050df99737a50ccd3f5c56059fca6f92d1b33b 100644 (file)
@@ -19,12 +19,14 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
 from ctypes import c_char_p
 from notmuch.globals import (
     nmlib,
-    NullPointerError,
-    NotInitializedError,
     NotmuchMessageP,
     NotmuchFilenamesP,
     Python3StringMixIn,
 )
+from .errors import (
+    NullPointerError,
+    NotInitializedError,
+)
 
 
 class Filenames(Python3StringMixIn):