diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2016-12-22 15:03:14 -0800 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2016-12-27 12:52:44 -0800 |
commit | debb4e61dafae81078520a019e8d4c75807cf8fd (patch) | |
tree | 3780f712ef305a2b37c655c199e59fcccc5c8c6b /alot/db/envelope.py | |
parent | 1421535d4856221d684739386c773a2c19151b2c (diff) |
db/envelope: add todo
Diffstat (limited to 'alot/db/envelope.py')
-rw-r--r-- | alot/db/envelope.py | 2 |
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 |