From e02f904cbfd12e5d89b71bc65ed76d5828cb4e83 Mon Sep 17 00:00:00 2001 From: Piers Lauder Date: Sun, 5 Aug 2001 10:43:03 +0000 Subject: [PATCH] fix for Bug ID 448100 - "test code using NL instead of CRNL" --- Lib/imaplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/imaplib.py b/Lib/imaplib.py index f7b08a67bcc..7c28d037804 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -1136,7 +1136,7 @@ if __name__ == '__main__': USER = getpass.getuser() PASSWD = getpass.getpass("IMAP password for %s on %s: " % (USER, host or "localhost")) - test_mesg = 'From: %s@localhost\nSubject: IMAP4 test\n\ndata...\n' % USER + test_mesg = 'From: %(user)s@localhost%(lf)sSubject: IMAP4 test%(lf)s%(lf)sdata...%(lf)s' % {'user':USER, 'lf':CRLF} test_seq1 = ( ('login', (USER, PASSWD)), ('create', ('/tmp/xxx 1',)),