Kaydet (Commit) 91be7943 authored tarafından Caolán McNamara's avatar Caolán McNamara

Resolves: fdo#36763 backport fix for py#4768

üst 14d3b822
--- misc/Python-2.6.1/Lib/email/encoders.py
+++ misc/build/Python-2.6.1/Lib/email/encoders.py
@@ -42,7 +42,7 @@
Also, add an appropriate Content-Transfer-Encoding header.
"""
orig = msg.get_payload()
- encdata = _bencode(orig)
+ encdata = str(_bencode(orig)).encode('ascii')
msg.set_payload(encdata)
msg['Content-Transfer-Encoding'] = 'base64'
......@@ -56,7 +56,8 @@ PATCH_FILES=\
Python-2.6.1-urllib.patch \
Python-2.6.1-sysbase.patch \
Python-2.6.1-nohardlink.patch \
Python-2.6.1-py2422.patch
Python-2.6.1-py2422.patch \
Python-2.6.1-py4768.patch
CONFIGURE_DIR=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment