diff options
author | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-03 11:35:21 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-11 17:00:31 +0200 |
commit | 992f0b4f8832f7e5eb3e8e73737051bd585720e6 (patch) | |
tree | 4b6d7b0abdf1dbb7ca81b446f2ba67136c78370f /service/pixelated/adapter/mailstore | |
parent | 07df4eb5751d78189e60654a1b593bc8c7637521 (diff) |
Fixed test_mailboxes.py test.
Diffstat (limited to 'service/pixelated/adapter/mailstore')
-rw-r--r-- | service/pixelated/adapter/mailstore/leap_mailstore.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/mailstore/leap_mailstore.py b/service/pixelated/adapter/mailstore/leap_mailstore.py index 87bfea04..7bcd8a6a 100644 --- a/service/pixelated/adapter/mailstore/leap_mailstore.py +++ b/service/pixelated/adapter/mailstore/leap_mailstore.py @@ -23,9 +23,9 @@ from pixelated.adapter.model.mail import Mail class LeapMail(Mail): - def __init__(self, mail_id, headers, tags=set(), body=None): + def __init__(self, mail_id, headers=None, tags=set(), body=None): self._mail_id = mail_id - self.headers = headers + self.headers = headers if headers is not None else {} self._body = body self.tags = tags |