summaryrefslogtreecommitdiff
path: root/src/leap/mail/mail.py
diff options
context:
space:
mode:
authorBruno Wagner <bwgpro@gmail.com>2015-07-21 19:16:53 -0300
committerBruno Wagner <bwgpro@gmail.com>2015-07-21 19:17:46 -0300
commit6ab67b4c69be4d3f3fb34dd3f76cd36822e7e1ca (patch)
tree5e84bf46c4eef5d8d9f6c0724904e8e8aa9e4b5f /src/leap/mail/mail.py
parenta36a3bd419bdf33d66ed77277089db537e8b7b36 (diff)
Fixed all the pep8 warnings in the code
Diffstat (limited to 'src/leap/mail/mail.py')
-rw-r--r--src/leap/mail/mail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/mail/mail.py b/src/leap/mail/mail.py
index 6a7c558..540a493 100644
--- a/src/leap/mail/mail.py
+++ b/src/leap/mail/mail.py
@@ -85,7 +85,7 @@ def _encode_payload(payload, ctype=""):
# soledad when it's creating the documents.
# if not charset:
# charset = get_email_charset(payload)
- #------------------------------------------------------
+ # -----------------------------------------------------
if not charset:
charset = "utf-8"
@@ -113,7 +113,7 @@ def _unpack_headers(headers_dict):
inner = zip(
itertools.cycle([k]),
map(lambda l: l.rstrip('\n'), splitted))
- headers_l = headers_l[:i] + inner + headers_l[i+1:]
+ headers_l = headers_l[:i] + inner + headers_l[i + 1:]
return headers_l