mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Merged revisions 87415 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87415 | r.david.murray | 2010-12-21 13:07:59 -0500 (Tue, 21 Dec 2010) | 4 lines Fix the change made for issue 1243654. Surprisingly, it turns out there was no test that exercised this code path. ........
This commit is contained in:
parent
da29acd96d
commit
a993b2d5de
2 changed files with 13 additions and 1 deletions
|
|
@ -208,7 +208,8 @@ class Generator:
|
|||
# Create a boundary that doesn't appear in any of the
|
||||
# message texts.
|
||||
alltext = NL.join(msgtexts)
|
||||
msg.set_boundary(self._make_boundary(alltext))
|
||||
boundary = _make_boundary(alltext)
|
||||
msg.set_boundary(boundary)
|
||||
# If there's a preamble, write it out, with a trailing CRLF
|
||||
if msg.preamble is not None:
|
||||
print >> self._fp, msg.preamble
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue