~ubuntu-branches/ubuntu/natty/python3.2/natty-security

« back to all changes in this revision

Viewing changes to Lib/email/generator.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-01-16 18:09:56 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20110116180956-yf91p6ode1z6lsi1
Tags: 3.2~rc1-0ubuntu1
Python 3.2 release candidate 1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
            # Create a boundary that doesn't appear in any of the
227
227
            # message texts.
228
228
            alltext = self._encoded_NL.join(msgtexts)
229
 
            msg.set_boundary(self._make_boundary(alltext))
 
229
            boundary = self._make_boundary(alltext)
 
230
            msg.set_boundary(boundary)
230
231
        # If there's a preamble, write it out, with a trailing CRLF
231
232
        if msg.preamble is not None:
232
233
            self.write(msg.preamble + self._NL)