diff options
author | Austin Clements <amdragon@MIT.EDU> | 2012-05-18 00:13:39 -0400 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2012-05-23 22:31:36 -0300 |
commit | f1f1e3963910a845e2bc0ebe6b9b5c852b4564eb (patch) | |
tree | a6b22bcad2aee36e417b42e262ed436fb4f61326 /bindings | |
parent | 3f3c446c40e6e7661620645f1c152968b5590f10 (diff) |
python: Update Database.get_directory documentation
notmuch_database_get_directory no longer returns an error for
read-only databases, so remove ReadOnlyDatabaseError from the list of
get_directory exceptions.
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/python/notmuch/database.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py index 797554d3..ff89818b 100644 --- a/bindings/python/notmuch/database.py +++ b/bindings/python/notmuch/database.py @@ -346,7 +346,6 @@ class Database(object): def get_directory(self, path): """Returns a :class:`Directory` of path, - (creating it if it does not exist(?)) :param path: An unicode string containing the path relative to the path of database (see :meth:`get_path`), or else should be an absolute @@ -354,8 +353,6 @@ class Database(object): :returns: :class:`Directory` or raises an exception. :raises: :exc:`FileError` if path is not relative database or absolute with initial components same as database. - :raises: :exc:`ReadOnlyDatabaseError` if the database has not been - opened in read-write mode """ self._assert_db_is_initialized() |