python: move the exception classes into error.py
[notmuch] / bindings / python / notmuch / messages.py
index 20d3632955bb3808c4e9c32edca14c28d73c0e4e..d94f91b4886b0d91fe26b90d2e3a314aa30a837b 100644 (file)
@@ -20,12 +20,14 @@ Copyright 2010 Sebastian Spaeth <Sebastian@SSpaeth.de>'
 
 from .globals import (
     nmlib,
-    NullPointerError,
-    NotInitializedError,
     NotmuchTagsP,
     NotmuchMessageP,
     NotmuchMessagesP,
 )
+from .errors import (
+    NullPointerError,
+    NotInitializedError,
+)
 from .tag import Tags
 from .message import Message