diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-03 23:27:32 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-03 23:27:32 +0000 |
commit | 1f571c6e602e7dc35d18cede0f70d34fd38e21ae (patch) | |
tree | 67b40a2e7268dd2cfefd22baa382591f8aee8b8f /Lib/email/generator.py | |
parent | b2f49ff88d0d5e42ffc26c48b8759c1432a4e55c (diff) | |
download | cpython-git-1f571c6e602e7dc35d18cede0f70d34fd38e21ae.tar.gz |
Remove Barry's love of deprecated syntax to silence warnings in the email
package, when run under -3, about using <>.
Diffstat (limited to 'Lib/email/generator.py')
-rw-r--r-- | Lib/email/generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/generator.py b/Lib/email/generator.py index 6e7a515302..ed832a3e9a 100644 --- a/Lib/email/generator.py +++ b/Lib/email/generator.py @@ -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: |