From 3d12c4317c2970d65bf30e941070017a8d1be210 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Wed, 15 Aug 2012 14:00:40 +0300 Subject: #11062: Fix adding a message from file to Babyl mailbox --- Lib/mailbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/mailbox.py') diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 8b00460ec6..73fe7d6483 100644 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -1443,9 +1443,9 @@ class Babyl(_singlefileMailbox): line = line[:-1] + b'\n' self._file.write(line.replace(b'\n', linesep)) if line == b'\n' or not line: - self._file.write(b'*** EOOH ***' + linesep) if first_pass: first_pass = False + self._file.write(b'*** EOOH ***' + linesep) message.seek(original_pos) else: break -- cgit v1.2.1