commit | 2d44ceeada8840185217c7de826622d8372ceb00 | [log] [tgz] |
---|---|---|
author | Petri Lehtinen <petri@digip.org> | Wed Aug 15 14:22:46 2012 +0300 |
committer | Petri Lehtinen <petri@digip.org> | Wed Aug 15 14:25:41 2012 +0300 |
tree | 320a05c67d0bfb63661aa4aee5f9c39d0bf3a390 | |
parent | becfcc0a6bbfa507049260b29d8ffc2f334dfcc0 [diff] [blame] |
#11062: Fix adding a message from file to Babyl mailbox
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 @@ 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