Bump for 3.6-28
[LibreOffice.git] / python / Python-2.6.1-py4768.patch
blob7617f5dbec53b38514be546fc3d5c349d7a9c894
1 --- misc/Python-2.6.1/Lib/email/encoders.py
2 +++ misc/build/Python-2.6.1/Lib/email/encoders.py
3 @@ -42,7 +42,7 @@
4 Also, add an appropriate Content-Transfer-Encoding header.
5 """
6 orig = msg.get_payload()
7 - encdata = _bencode(orig)
8 + encdata = str(_bencode(orig)).encode('ascii')
9 msg.set_payload(encdata)
10 msg['Content-Transfer-Encoding'] = 'base64'