summaryrefslogtreecommitdiff
path: root/alot/db/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/db/__init__.py')
-rw-r--r--alot/db/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/db/__init__.py b/alot/db/__init__.py
index 28c32c42..ca1f9b0b 100644
--- a/alot/db/__init__.py
+++ b/alot/db/__init__.py
@@ -63,7 +63,7 @@ class DBManager(object):
You are responsible to retry flushing at a later time if you want to
ensure that the cached changes are applied to the database.
- :exception: :exc:`errors.DatabaseROError` if db is opened in read-only mode
+ :exception: :exc:`errors.DatabaseROError` if db is opened read-only
:exception: :exc:`errors.DatabaseLockedError` if db is locked
"""
if self.ro:
@@ -129,7 +129,7 @@ class DBManager(object):
# end transaction and reinsert queue item on error
if db.end_atomic() != notmuch.STATUS.SUCCESS:
- raise errors.DatabaseError('fail-status from end_atomic')
+ raise errors.DatabaseError('end_atomic failed')
# call post-callback
if callable(afterwards):