aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-02-22 20:46:42 +0100
committerGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-02-22 21:14:35 +0100
commit35ceaf496fe2d2a1324a8462e629e618ed20037a (patch)
treeef3ff21f3077208c2d2886328066e8fb44f59644 /bindings
parent92983dd14e3c9d767bb8ef6e9b85ef76b293cdd4 (diff)
python: Improve the docstring of Database.get_directory
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python/notmuch/database.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/bindings/python/notmuch/database.py b/bindings/python/notmuch/database.py
index c905395e..bef9720f 100644
--- a/bindings/python/notmuch/database.py
+++ b/bindings/python/notmuch/database.py
@@ -345,10 +345,8 @@ class Database(object):
of database (see :meth:`get_path`), or else should be an absolute
path with initial components that match the path of 'database'.
:returns: :class:`Directory` or raises an exception.
- :raises:
- :exc:`NotmuchError` with :attr:`STATUS`.FILE_ERROR
- If path is not relative database or absolute with initial
- components same as database.
+ :raises: :exc:`FileError` if path is not relative database or absolute
+ with initial components same as database.
"""
self._assert_db_is_initialized()
# sanity checking if path is valid, and make path absolute