cpython: 770ffc91a82e (original) (raw)

Mercurial > cpython

changeset 78608:770ffc91a82e 3.2

#11062: Fix universal newline support in Babyl._install_message() When adding a message from a binary file, \r\n was translated to \r\r\n in the message body. [#11062]

Petri Lehtinen petri@digip.org
date Thu, 16 Aug 2012 07:22:15 +0300
parents 8ff172a1b679
children 5206b9dbf1ac ce49599b9fdf
files Lib/mailbox.py
diffstat 1 files changed, 10 insertions(+), 3 deletions(-)[+] [-] Lib/mailbox.py 13

line wrap: on

line diff

--- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -1450,10 +1450,17 @@ class Babyl(_singlefileMailbox): else: break while True: