diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-11 18:58:56 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-03-11 18:58:56 +0000 |
commit | 133c5dc2cbfd5548e536dc8abba443c9b63c501e (patch) | |
tree | 493b9efd8f99b6f478577e1c4ce268cb4c0bb594 /alot/db/__init__.py | |
parent | 858150d88011af09bac9b0c7cb2c45190aa8574f (diff) |
pep8 fixes
Diffstat (limited to 'alot/db/__init__.py')
-rw-r--r-- | alot/db/__init__.py | 4 |
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): |