summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/pixelated_mail.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-09-04 19:33:48 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-09-04 19:33:48 -0300
commit8e653650300948f9bfd91619795ac840d52e73a5 (patch)
tree211d09e3bd2f614bf252bac6871ad2235a7990d1 /service/pixelated/adapter/pixelated_mail.py
parentaa40c93c625baecbef79168c2cffd683be1ff8f3 (diff)
fixing pep8
Diffstat (limited to 'service/pixelated/adapter/pixelated_mail.py')
-rw-r--r--service/pixelated/adapter/pixelated_mail.py4
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