~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Lib/email/generator.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
211
211
        # doesn't preserve newlines/continuations in headers.  This is no big
212
212
        # deal in practice, but turns out to be inconvenient for the unittest
213
213
        # suite.
214
 
        if msg.get_boundary() <> boundary:
 
214
        if msg.get_boundary() != boundary:
215
215
            msg.set_boundary(boundary)
216
216
        # If there's a preamble, write it out, with a trailing CRLF
217
217
        if msg.preamble is not None: