diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-02 09:08:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-02 11:07:34 +0100 |
commit | 91be7943121cfbc0dacc49848fa8f27d72c54c34 (patch) | |
tree | bd78a858d460a24861e9dec0bf4c723c0a9b6b83 /python/Python-2.6.1-py4768.patch | |
parent | 14d3b8226d1e98855d44971656ae327aa25948fe (diff) |
Resolves: fdo#36763 backport fix for py#4768
Diffstat (limited to 'python/Python-2.6.1-py4768.patch')
-rw-r--r-- | python/Python-2.6.1-py4768.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python/Python-2.6.1-py4768.patch b/python/Python-2.6.1-py4768.patch new file mode 100644 index 000000000000..7617f5dbec53 --- /dev/null +++ b/python/Python-2.6.1-py4768.patch @@ -0,0 +1,11 @@ +--- 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' + |