`notmuch2.errors` does not exist
telenieko opened this issue · 0 comments
telenieko commented
Hi,
I just compiled notmuch2 bindings from source (using version 0.37) and notmuch2.errors
does not exist.
It looks like the errors are exposed from the notmuch2
module:
>>> import notmuch2
>>> dir(notmuch2)
['AtomicContext', 'BinString', 'Database', 'DatabaseExistsError', 'DbRevision',
'DuplicateMessageIdError', 'FileError', 'FileNotEmailError', 'IllegalArgumentError',
'ImmutableTagSet', 'Message', 'MutableTagSet', 'NOTMUCH_TAG_MAX', 'NoConfigError',
'NoDatabaseError', 'NotmuchError', 'NotmuchObject', 'NullPointerError', 'ObjectDestroyedError',
'OutOfMemoryError', 'PathError', 'QuerySyntaxError', 'ReadOnlyDatabaseError',
'TagTooLongError', 'TagsIter', 'Thread', 'UnbalancedAtomicError',
'UnbalancedFreezeThawError', 'UnsupportedOperationError', 'UpgradeRequiredError',
'XapianError', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__',
'__package__', '__path__', '__spec__', '_base', '_config', '_database', '_errors', '_message', '_query', '_tags', '_thread', 'capi']
So, maybe this:
Line 638 in 72c298a
Should be changed from notmuch2.errors
to just notmuch2
?