Remove Barry's love of deprecated syntax to silence warnings in the email

package, when run under -3, about using <>.
This commit is contained in:
Brett Cannon 2008-08-03 23:27:32 +00:00
parent b2f49ff88d
commit 1f571c6e60
6 changed files with 13 additions and 13 deletions

View file

@ -211,7 +211,7 @@ class Generator:
# doesn't preserve newlines/continuations in headers. This is no big
# deal in practice, but turns out to be inconvenient for the unittest
# suite.
if msg.get_boundary() <> boundary:
if msg.get_boundary() != boundary:
msg.set_boundary(boundary)
# If there's a preamble, write it out, with a trailing CRLF
if msg.preamble is not None: