diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-03-05 10:22:52 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-03-05 10:24:12 +0100 |
commit | d4b8a1ccacda08c29ad93cdb344c6fc1debcac30 (patch) | |
tree | 31b5ec80e45071b092feda3acf9ab233cc38f59c /alot/commands/thread.py | |
parent | 8a6ce8a29d8d61385c4222b9018b936e658cfb24 (diff) |
db/utils: move formataddr to helper
It has no relation to database, so helper seems like a better place for
it.
As there is nothing left in db/utils, it is removed.
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index c5e2747e..83aef9a0 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -26,11 +26,11 @@ from .common import RetagPromptCommand from .envelope import SendCommand from ..completion.contacts import ContactsCompleter from ..completion.path import PathCompleter -from ..db.utils import formataddr from ..db.envelope import Envelope from ..db.attachment import Attachment from ..db.errors import DatabaseROError from ..settings.const import settings +from ..helper import formataddr from ..helper import parse_mailcap_nametemplate from ..helper import split_commandstring from ..utils import argparse as cargparse |