summaryrefslogtreecommitdiff
path: root/alot/db/manager.py
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2016-07-14 14:18:48 +0200
committerLucas Hoffmann <l-m-h@web.de>2016-12-09 11:26:19 +0100
commitfe748a7f47fb61d46dd88c270c2329e6ff19a895 (patch)
tree66bb5dc3145ef621db21e6505d91591e6b414d0f /alot/db/manager.py
parentd89bbe11537abfceb3d0c7b62b9325fceaf51e32 (diff)
Clean up imports
- use relative imports if possible - group imports into standard library, third party, and alot modules - sort imports alphabetically
Diffstat (limited to 'alot/db/manager.py')
-rw-r--r--alot/db/manager.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/alot/db/manager.py b/alot/db/manager.py
index 6dce8c44..3e84a6b1 100644
--- a/alot/db/manager.py
+++ b/alot/db/manager.py
@@ -1,27 +1,27 @@
# Copyright (C) 2011-2012 Patrick Totzke <patricktotzke@gmail.com>
# This file is released under the GNU GPL, version 3 or a later revision.
# For further details see the COPYING file
-from notmuch import Database, NotmuchError, XapianError
-import notmuch
-import multiprocessing
+from collections import deque
+import errno
import logging
-import sys
+import multiprocessing
import os
-import errno
import signal
-from twisted.internet import reactor
+import sys
-from collections import deque
+from notmuch import Database, NotmuchError, XapianError
+import notmuch
+from twisted.internet import reactor
-from message import Message
-from alot.settings import settings
-from thread import Thread
+from . import DB_ENC
from .errors import DatabaseError
from .errors import DatabaseLockedError
from .errors import DatabaseROError
from .errors import NonexistantObjectError
-from alot.db import DB_ENC
-from alot.db.utils import is_subdir_of
+from .message import Message
+from .thread import Thread
+from .utils import is_subdir_of
+from ..settings import settings
class FillPipeProcess(multiprocessing.Process):