mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
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:
parent
b2f49ff88d
commit
1f571c6e60
6 changed files with 13 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue