summaryrefslogtreecommitdiff
path: root/alot/db/errors.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2013-07-01 10:51:04 -0500
committerPatrick Totzke <patricktotzke@gmail.com>2013-07-07 18:14:28 +0100
commitd6806671c1ae96227acfb8504e98cf2278da5f90 (patch)
treef453d5cc8146852e7a1a9194f9ad60eadf644498 /alot/db/errors.py
parent949c5b17b48ed8e45d315ba9c55d3ace1b511cb3 (diff)
pep8&pyflakes fixes
mostly automatically fixed
Diffstat (limited to 'alot/db/errors.py')
-rw-r--r--alot/db/errors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/alot/db/errors.py b/alot/db/errors.py
index 55eb05ef..668ab34e 100644
--- a/alot/db/errors.py
+++ b/alot/db/errors.py
@@ -8,15 +8,18 @@ class DatabaseError(Exception):
class DatabaseROError(DatabaseError):
+
"""cannot write to read-only database"""
pass
class DatabaseLockedError(DatabaseError):
+
"""cannot write to locked index"""
pass
class NonexistantObjectError(DatabaseError):
+
"""requested thread or message does not exist in the index"""
pass