summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2019-08-11 11:09:19 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2019-08-11 11:39:18 +0100
commit6df1ac86b761d04464ecc611a3463968f608af2d (patch)
tree21c5579f55b0ad719d61cd141ce6a25b31cb55d2
parent1bed75d814509f7816c92de665cf6966766c0883 (diff)
remove unused imports
-rw-r--r--alot/db/__init__.py1
-rw-r--r--alot/db/manager.py1
-rw-r--r--alot/helper.py3
-rw-r--r--tests/db/test_message.py2
4 files changed, 0 insertions, 7 deletions
diff --git a/alot/db/__init__.py b/alot/db/__init__.py
index 2c6fd634..fd33448d 100644
--- a/alot/db/__init__.py
+++ b/alot/db/__init__.py
@@ -3,4 +3,3 @@
# For further details see the COPYING file
from .thread import Thread
from .message import Message
-DB_ENC = 'UTF-8'
diff --git a/alot/db/manager.py b/alot/db/manager.py
index ed1a8d00..956ddcbc 100644
--- a/alot/db/manager.py
+++ b/alot/db/manager.py
@@ -13,7 +13,6 @@ import threading
from notmuch import Database, NotmuchError, XapianError
import notmuch
-from . import DB_ENC
from .errors import DatabaseError
from .errors import DatabaseLockedError
from .errors import DatabaseROError
diff --git a/alot/helper.py b/alot/helper.py
index 886d4e05..79b97ccb 100644
--- a/alot/helper.py
+++ b/alot/helper.py
@@ -6,8 +6,6 @@
from datetime import timedelta
from datetime import datetime
from collections import deque
-from io import BytesIO
-from io import StringIO
import logging
import mimetypes
import os
@@ -19,7 +17,6 @@ from email.mime.audio import MIMEAudio
from email.mime.base import MIMEBase
from email.mime.image import MIMEImage
from email.mime.text import MIMEText
-from email.mime.multipart import MIMEMultipart
import asyncio
import urwid
diff --git a/tests/db/test_message.py b/tests/db/test_message.py
index 29ed5ee6..6322a77e 100644
--- a/tests/db/test_message.py
+++ b/tests/db/test_message.py
@@ -18,8 +18,6 @@ import unittest
import mock
-from notmuch import NullPointerError
-
from alot import account
from alot.db import message