From 8e653650300948f9bfd91619795ac840d52e73a5 Mon Sep 17 00:00:00 2001 From: Duda Dornelles Date: Thu, 4 Sep 2014 19:33:48 -0300 Subject: fixing pep8 --- service/pixelated/adapter/pixelated_mail.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'service/pixelated') 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 -- cgit v1.2.3