Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
nm.debian.org
Commits
1dc56b17
Commit
1dc56b17
authored
Jun 17, 2015
by
Enrico Zini
Browse files
decode_header was eating spaces
parent
164911cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/email.py
View file @
1dc56b17
...
...
@@ -140,7 +140,7 @@ def decode_header(val):
res
.
append
(
buf
.
decode
(
"utf-8"
,
errors
=
"replace"
))
else
:
res
.
append
(
buf
.
decode
(
charset
,
errors
=
"replace"
))
return
""
.
join
(
res
)
return
"
"
.
join
(
res
)
def
get_mbox_as_dicts
(
filename
):
try
:
## we are reading, have not to flush with close
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment