summaryrefslogtreecommitdiff
path: root/alot/db/__init__.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-03-11 18:58:56 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-03-11 18:58:56 +0000
commit133c5dc2cbfd5548e536dc8abba443c9b63c501e (patch)
tree493b9efd8f99b6f478577e1c4ce268cb4c0bb594 /alot/db/__init__.py
parent858150d88011af09bac9b0c7cb2c45190aa8574f (diff)
pep8 fixes
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):