diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-09-04 19:33:48 -0300 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-09-04 19:33:48 -0300 |
commit | 8e653650300948f9bfd91619795ac840d52e73a5 (patch) | |
tree | 211d09e3bd2f614bf252bac6871ad2235a7990d1 /service/pixelated | |
parent | aa40c93c625baecbef79168c2cffd683be1ff8f3 (diff) |
fixing pep8
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/adapter/pixelated_mail.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/adapter/pixelated_mail.py b/service/pixelated/adapter/pixelated_mail.py index 8ed27262..40e4f71f 100644 --- a/service/pixelated/adapter/pixelated_mail.py +++ b/service/pixelated/adapter/pixelated_mail.py @@ -56,14 +56,14 @@ class PixelatedMail: def _split_recipients(self, header_type, temporary_headers): if(temporary_headers.get(header_type) is not None): recipients = temporary_headers[header_type].split(',') - temporary_headers[header_type] = map (lambda x: x.replace(' ', ''), recipients) + temporary_headers[header_type] = map(lambda x: x.replace(' ', ''), recipients) def _extract_headers(self): temporary_headers = {} for header, value in self.leap_mail.hdoc.content['headers'].items(): temporary_headers[header.lower()] = value - map(lambda x: self._split_recipients(x, temporary_headers), ['to', 'bcc','cc']) + map(lambda x: self._split_recipients(x, temporary_headers), ['to', 'bcc', 'cc']) return temporary_headers |