summaryrefslogtreecommitdiff
path: root/alot/db/envelope.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2016-12-22 15:03:14 -0800
committerDylan Baker <dylan@pnwbakers.com>2016-12-27 12:52:44 -0800
commitdebb4e61dafae81078520a019e8d4c75807cf8fd (patch)
tree3780f712ef305a2b37c655c199e59fcccc5c8c6b /alot/db/envelope.py
parent1421535d4856221d684739386c773a2c19151b2c (diff)
db/envelope: add todo
Diffstat (limited to 'alot/db/envelope.py')
-rw-r--r--alot/db/envelope.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/alot/db/envelope.py b/alot/db/envelope.py
index bb0d9e2e..f5515740 100644
--- a/alot/db/envelope.py
+++ b/alot/db/envelope.py
@@ -70,6 +70,8 @@ class Envelope(object):
logging.debug('PARSED TEMPLATE: %s', template)
logging.debug('BODY: %s', self.body)
self.body = bodytext or u''
+ # TODO: if this was as collections.defaultdict a number of methods
+ # could be simplified.
self.headers = headers or {}
self.attachments = list(attachments) if attachments is not None else []
self.sign = sign