.. note::
Any function in this class can and will throw an
- :exc:`NotInitializedError` if the database was not intitialized
+ :exc:`NotInitializedError` if the database was not initialized
properly.
"""
_std_db_path = None
return Database._get_version(self._db)
def get_revision (self):
- """Returns the committed database revison and UUID
+ """Returns the committed database revision and UUID
- :returns: (revison, uuid) The database revision as a positive integer
+ :returns: (revision, uuid) The database revision as a positive integer
and the UUID of the database.
"""
self._assert_db_is_initialized()
in the meantime. In this case, you should close and
reopen the database and retry.
:exc:`NotInitializedError` if
- the database was not intitialized.
+ the database was not initialized.
"""
self._assert_db_is_initialized()
msg_p = NotmuchMessageP()
case, you should close and reopen the database and
retry.
:raises: :exc:`NotInitializedError` if the database was not
- intitialized.
+ initialized.
*Added in notmuch 0.9*"""
self._assert_db_is_initialized()
"""Returns :class:`Tags` with a list of all tags found in the database
:returns: :class:`Tags`
- :execption: :exc:`NotmuchError` with :attr:`STATUS`.NULL_POINTER
+ :exception: :exc:`NotmuchError` with :attr:`STATUS`.NULL_POINTER
on error
"""
self._assert_db_is_initialized()