summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alot/db/errors.py2
-rw-r--r--alot/db/thread.py4
-rwxr-xr-xalot/init.py3
3 files changed, 4 insertions, 5 deletions
diff --git a/alot/db/errors.py b/alot/db/errors.py
index 17ef219c..240e769b 100644
--- a/alot/db/errors.py
+++ b/alot/db/errors.py
@@ -15,5 +15,3 @@ class DatabaseLockedError(DatabaseError):
class NonexistantObjectError(DatabaseError):
"""requested thread or message does not exist in the index"""
pass
-
-
diff --git a/alot/db/thread.py b/alot/db/thread.py
index e94e719e..1207e583 100644
--- a/alot/db/thread.py
+++ b/alot/db/thread.py
@@ -8,8 +8,8 @@ class Thread(object):
"""
A wrapper around a notmuch mailthread (:class:`notmuch.database.Thread`)
that ensures persistence of the thread: It can be safely read multiple
- times, its manipulation is done via a :class:`alot.db.DBManager` and it
- can directly provide contained messages as :class:`~alot.db.message.Message`.
+ times, its manipulation is done via a :class:`alot.db.DBManager` and it can
+ directly provide contained messages as :class:`~alot.db.message.Message`.
"""
def __init__(self, dbman, thread):
diff --git a/alot/init.py b/alot/init.py
index 182e7e87..be54901c 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -132,7 +132,8 @@ def main():
if args['config']:
expanded_path = os.path.expanduser(args['config'])
if not os.path.exists(expanded_path):
- sys.exit('Explicitly given config file "%s" does not exist. Goodbye for now.' % expanded_path)
+ msg = 'Config file "%s" does not exist. Goodbye for now.'
+ sys.exit(msg % expanded_path)
configfiles.insert(0, expanded_path)
# locate notmuch config