diff options
author | Petri Lehtinen <petri@digip.org> | 2012-08-15 14:22:46 +0300 |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2012-08-15 14:25:41 +0300 |
commit | 2d44ceeada8840185217c7de826622d8372ceb00 (patch) | |
tree | 320a05c67d0bfb63661aa4aee5f9c39d0bf3a390 /Lib/mailbox.py | |
parent | becfcc0a6bbfa507049260b29d8ffc2f334dfcc0 (diff) | |
download | cpython-git-2d44ceeada8840185217c7de826622d8372ceb00.tar.gz |
#11062: Fix adding a message from file to Babyl mailbox
Diffstat (limited to 'Lib/mailbox.py')
-rw-r--r-- | Lib/mailbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/mailbox.py b/Lib/mailbox.py index 61683674ff..3fe0ce4288 100644 --- a/Lib/mailbox.py +++ b/Lib/mailbox.py @@ -1386,9 +1386,9 @@ class Babyl(_singlefileMailbox): line = message.readline() self._file.write(line.replace('\n', os.linesep)) if line == '\n' or line == '': - self._file.write('*** EOOH ***' + os.linesep) if first_pass: first_pass = False + self._file.write('*** EOOH ***' + os.linesep) message.seek(original_pos) else: break |