diff options
author | Petri Lehtinen <petri@digip.org> | 2012-08-15 11:22:46 (GMT) |
---|---|---|
committer | Petri Lehtinen <petri@digip.org> | 2012-08-15 11:25:41 (GMT) |
commit | 2d44ceeada8840185217c7de826622d8372ceb00 (patch) | |
tree | 320a05c67d0bfb63661aa4aee5f9c39d0bf3a390 /Lib/mailbox.py | |
parent | becfcc0a6bbfa507049260b29d8ffc2f334dfcc0 (diff) | |
download | cpython-2d44ceeada8840185217c7de826622d8372ceb00.zip cpython-2d44ceeada8840185217c7de826622d8372ceb00.tar.gz cpython-2d44ceeada8840185217c7de826622d8372ceb00.tar.bz2 |
#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 6168367..3fe0ce4 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 |