diff options
| author | R. David Murray <rdmurray@bitdance.com> | 2010-12-21 18:11:01 (GMT) |
|---|---|---|
| committer | R. David Murray <rdmurray@bitdance.com> | 2010-12-21 18:11:01 (GMT) |
| commit | 27c1914c1bd0193e0c8ef6fa15854f767bbb0425 (patch) | |
| tree | bbfee9e7a4d6c52a3a34387eceff17e899391171 /Lib/email/generator.py | |
| parent | 08d3c1e713f99c8f20bc797e143420bf79ecf04a (diff) | |
| download | cpython-27c1914c1bd0193e0c8ef6fa15854f767bbb0425.zip cpython-27c1914c1bd0193e0c8ef6fa15854f767bbb0425.tar.gz cpython-27c1914c1bd0193e0c8ef6fa15854f767bbb0425.tar.bz2 | |
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.
........
Diffstat (limited to 'Lib/email/generator.py')
| -rw-r--r-- | Lib/email/generator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/email/generator.py b/Lib/email/generator.py index cf5e092..cc30aff 100644 --- a/Lib/email/generator.py +++ b/Lib/email/generator.py @@ -186,7 +186,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(msg.preamble, file=self._fp) |
